NEW - name based domains pointing to /var/www/

1 post / 0 new
#1 Thu, 10/25/2007 - 14:13
jmunjr

NEW - name based domains pointing to /var/www/

I'vve been reading to try to figure out why this is happening.

In my httpd.conf I had:

NameVirtualHost 10.12.196.130:80

a private ip. Is this correct? If not, what do I have to change?

I tried making it the primary public ip and changed the virtual domains as well but now the wrong site comes up.

Also when I try to add a new virtual domain it still is using the private ip when creating.

UPDATE:I changed under system setting->Shared IP Addresses I added the default ip address for the server and now when adding a virtual server it gives me the option to use this ip but its option is "Shared, on non-default IP"

How can I make it the default ip, and does this al lsound correct to you? It looks lik eI have to go back and update all the DNS entries for the domains I added now too.

Any advice about this is appreciated.

Thank you!<br><br>Post edited by: jmunjr, at: 2007/10/25 14:20