Have you updated your DNS settings to point to the new IP address? What page is it displaying when you use the name rather than the IP?
If the DNS is setup properly, it could also be an Apache configuration, there's a concept called virtual hosts where you have multiple websites on a single IP address and the site that gets displayed changes depending on the URL used to view the site, so it may not be set up to display the desired site with the URL you are specifying.
Typically Apache is configured to have the root for the web pages in /var/www or /var/www/html and yeah that's a good place to put all the web pages.
Is there a reason you chose a VPS? A VPS usually assumes you know your way around the operating system and server application configuration files, if you want simple web hosting for a small site without having to worry about all this technical stuff shared hosting is far more appropriate. VPS is usually for those with very specific site needs (specific software) or for those with sites too busy for typical shared hosting.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|