httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Eckerman <jonas_li...@frukt.org>
Subject Re: [users@httpd] VirtualHost help
Date Fri, 03 Oct 2003 18:22:13 GMT
On Fri, 3 Oct 2003 18:54:54 +0200 (MEST), Gusti Benawi wrote:

> > Of course you also updated you DNS pointers so that
> a.mydomain.com and b.mydomain.com pointed the the web server?

Yes. The browser must somehow know wich IP adress to connect to. If it doesn't know that,
it can't connect.

> How do i do that?

If you have you're own DNS, edit the zone file. If you don't run the DNS yourself, contact
whoever does that. Anyway, this really has nothing to do with Apache.

Just for testing the setup, you can add a.mydomain.com and b.mydomain.com to the hosts file
on the machine your running the browser on. The exact location of the file depends on your
operating system.

> > The browser can't resolve the domain name?
> in that way, but it worked with mydomain.com
[...]
> no log, because the browser cn't resolve the domain name

Then it's pretty obvious that it isn't an Apache problem. If the browser never even contacts
the web server, then how could the web server answer correctly?

The fact that it worked with mydomain.com is probably because there's a DNS record pointing
the domain name mydomain.com to the IP of your web server.

Regards
/Jonas

-- 
Jonas Eckerman, jonas_lists@frukt.org
http://www.fsdb.org/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message