I have two domains.
IP2, however they both point at the same VPS.
I got it working if I go to
domain1.com, however going to
www.domain1.com gets stuck on the loading screen and ultimately says
Oops! Google Chrome could not find www.domain1.com!. It does this in Firefox and IE as well.
While it's loading, it says
Resolving Host at the bottom of my screen (in firefox, it says
Looking Up www.Domain1.com).
I followed this tutorial to the letter. Basically:
1) Make a
2) Run chmod to give 755 perms
3) Create an index file
4) Run command
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/domain1.com
5) Use nano to edit said file
6) Make this the file:
8) Restart apache