Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Virtual Hosts and DNS Configuration

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
virtual hosts... need help please - Hi NG. I'm having trouble Apache to run with more than 1 host. I've read the config ofcause but when I try to do what it says I can't seem to get it to work. If anyone could post the changes they have made to their to..

Virtual Hosts - Hi everyone, I am new to apache, so if my question is answered in the groups faq, or on the apache web site, feel free to tell me to f**k off and read there. However I have looked through the manual, and cant find any reference to the issues im having.

Virtual hosts and SSL? - Hello I'm trying to setup this apache 1.3 server for virtual hosts, with ssl. I've got the normal port 80 working, but the SSL is a bit of a mess. If I have the SSL pages in the real part of the server, ie, then..

Virtual Hosts? - I'm wanting to use one IP address to host multiple domains, ie web hosting. I assume that are the thin I need to focus on here and is this basically a similar concept to Host Headers in IIS 5.0? I'm running Windows 2000 with Apache 2.0.46 ..

Virtual hosts - I have used the examples in apache docs and from various web sites on the web (Google search) to set virtual hosts to no avail. Presently I have: # #Use virtual hosting. # *:80 *:80>
Next:  apache hostname resolution  
Author Message
Martin_Pöpping

External


Since: Dec 12, 2006
Posts: 4



(Msg. 1) Posted: Tue Jul 10, 2007 11:56 am
Post subject: Virtual Hosts and DNS Configuration
Archived from groups: alt>apache>configuration (more info?)

Hello,


I have a simple question about subdomains.

If a domain www.domain.tld points to a apache server with the IP
123.123.123.123 and I define virtual hosts in the httpd.conf for
a subdomain www.sub.domain.tld for a different document root, e.g.
/htdocs/www.sub/ instead of /htdocs/www/

Is it enough if I set up the domain domain.tld with the apache server IP
in the records of the DNS server?

Or do I also have to configure the subdomain www.sub.domain.tld in the
DNS server records?


Regards,

Martin



--
Error: No keyboard detected, press F1 to continue

 >> Stay informed about: Virtual Hosts and DNS Configuration 
Back to top
Login to vote
Mark Taylor

External


Since: Aug 24, 2006
Posts: 19



(Msg. 2) Posted: Tue Jul 10, 2007 11:56 am
Post subject: Re: Virtual Hosts and DNS Configuration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

=?ISO-8859-15?Q?Martin_P=F6pping?= <martin_p RemoveThis @despammed.com> wrote in
news:f7047e$r01$1@newsreader2.netcologne.de:

> Hello,
>
>
> I have a simple question about subdomains.
>
> If a domain www.domain.tld points to a apache server with the IP
> 123.123.123.123 and I define virtual hosts in the httpd.conf for
> a subdomain www.sub.domain.tld for a different document root, e.g.
> /htdocs/www.sub/ instead of /htdocs/www/
>
> Is it enough if I set up the domain domain.tld with the apache server
IP
> in the records of the DNS server?
>
> Or do I also have to configure the subdomain www.sub.domain.tld in the
> DNS server records?
>
>
> Regards,
>
> Martin
>
>
>

If you want http://sub.domain.tld to resolve AND
http://www.sub.domain.tld to resolve to the same IP address then you MUST
have both a DNS entry and virtual host directives defining both.

For example:

<VirtualHost *:80>
ServerName sub.domaind.tld
ServerAlias www.sub.domain.tld
DocumentRoot /htdocs/www.sub <--Don't use a trailing slash
</VirtualHost>





----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----

 >> Stay informed about: Virtual Hosts and DNS Configuration 
Back to top
Login to vote
Kurt M. Weber

External


Since: Jul 10, 2007
Posts: 4



(Msg. 3) Posted: Tue Jul 10, 2007 4:16 pm
Post subject: Re: Virtual Hosts and DNS Configuration [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Martin Pöpping wrote:

> Hello,
>
>
> I have a simple question about subdomains.
>
> If a domain www.domain.tld points to a apache server with the IP
> 123.123.123.123 and I define virtual hosts in the httpd.conf for
> a subdomain www.sub.domain.tld for a different document root, e.g.
> /htdocs/www.sub/ instead of /htdocs/www/
>
> Is it enough if I set up the domain domain.tld with the apache server IP
> in the records of the DNS server?
>
> Or do I also have to configure the subdomain www.sub.domain.tld in the
> DNS server records?

Yes, everything has to exist in DNS; otherwise, people visiting your site
won't be able to get the IP address for it. This includes third- and
fourth-level domains. EVERYTHING has to be there.
--
Kurt M. Weber
<kmw.TakeThisOut@armory.com>
 >> Stay informed about: Virtual Hosts and DNS Configuration 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]