I have been trying to get the virtual host working on my server so far When
I type in the browser
www.myshaft.com I get "Cannot find server" messagebut
when I type any of the IPs' I get the Apache confimation page too display,
this is all I have configured on my server I f something is missing or
anything additional needed would apprieciate it I have used an Apache,
2-Freebsd books and online manuals tried different example that were shown.
LAN IP : 192.168.3.8 On the server behind firewall
WAN IP : 64.171.131.252 ported to port 80 to the LAN IP
I have FreeBSD 4.9 with Apache 1.3
Server name is Dolemite
Domain name is myshaft.com
register.com has the domain to the IP to the WAN ip above
here is the hosts file:
::1 localhost.myshaft.com localhost
127.0.0.1 localhost.myshaft.com localhost
192.168.3.8 dolemite.myshaft.com dolemite
192.168.3.8 dolemite.myshaft.com.
192.168.3.8
www.myshaft.com
my httpd.conf file is setup as so:
ServerType standalone
ServerName dolemite.myshaft.com
ServerRoot "/usr/local"
Port 80
User www
Group www
DocumentRoot /usr/local/www/data
HostnameLookups on
NameVirtualHost *
<VirtualHost *:80>
ServerAdmin webmaster.RemoveThis@dolemite.myshaft.com
ServerName
www.myshaft.com
DocumentRoot /usr/local/www/htdocs
</VirtualHost>