I started virtual host on my VPS,
I am having two websites on it, one which was already there and the second which I trasferred now, But before changing the name-servers of the new transfered wordpress site, I want to test it. How can I check it, whether its working with no errors, or some errors are there?
When I type my IP address of the VPS I get my old website, if I type http://ip/new_site_folder_name I get 404, no such page found
My virtual host config is this:
NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin email@example.com DocumentRoot /var/www/html/www.mbas.co.in ServerName mbas.co.in ErrorLog logs/mbas.co.in-error_log CustomLog logs/mbas.co.in-access_log common </VirtualHost> <VirtualHost *:80> ServerAdmin firstname.lastname@example.org DocumentRoot /var/www/html/onlinemba123 ServerName onlinemba123 ErrorLog logs/onlinemba123-error_log CustomLog logs/onlinemba123-access_log common </VirtualHost>