I've got 2 domain names, 1 server and 2 websites. Both sites live on the one server, one site is setup for each domain name.
I setup name based virtual hosts on my apache server. When I try to access the domain names, everything works great. However, when I try to acess the server via it's IP, it doesn't work.
I read in the apache docs that this is normal. So I setup a vhost for the IP address... same exact way I did it for the domain names, but rather than using a domain name, I used the IP. That didn't seem to work.
Is it possible to still access the server via IP address (from a browser) while using name based vhosts?
I setup name based virtual hosts on my apache server. When I try to access the domain names, everything works great. However, when I try to acess the server via it's IP, it doesn't work.
I read in the apache docs that this is normal. So I setup a vhost for the IP address... same exact way I did it for the domain names, but rather than using a domain name, I used the IP. That didn't seem to work.
Is it possible to still access the server via IP address (from a browser) while using name based vhosts?