Hello,
Just about to set up two websites on my new server, but im new to setting up virtual hosts so i need help...
Lets say my real IP address is 123.4.5.6 and that im running my first website on it. Now the problem comes with my second website and second IP. Look at this
<VirtualHost 123.4.5.7>
ServerAdmin
admin@mysite.com
DocumentRoot /home/mysite/public_html
ServerName
www.mysite.com
ErrorLog /home/mysite/logs/error_log
CustomLog /home/mysite/logs/access_log common
</VirtualHost>
Notice that i increased 6 to 7 at the end of the IP address... Can I do this??? what if someone else has that IP address??? Can someone else have that IP address??
Using the example above every time I try to access the second website typing
http://123.4.5.7/ in the browser I get "This document contains no data" as an error..... and then blank page...
Accessing my first site on
http://123.4.5.6/ is no problem....
I placed an test index.html file in /home/mysite/public_html just in case but i still get the same result
Anyone know how to solve this?
Thank you.