I have 2 domains autogl.com which is spread on the root folder and oraclehut which is inside the oraclehut folder I wish to connect it to godaddy So I followed and instructional tutorial on this page http://brianshim.com/webtricks/host-multiple-sites-amazon-ec2/ and made an entry in the httpd conf file <VirtualHost *:80> ServerAdmin neeshu@gmail.com DocumentRoot "/var/www/html" ServerName autogl.com ErrorLog "/var/www/html/logs/autogl.com-error_log" CustomLog "/var/www/html/logs/autogl.com-access_log" common </VirtualHost> <VirtualHost *:80> ServerAdmin neeshu@gmail.com DocumentRoot "/var/www/html/oraclehut" ServerName oraclehut.com ErrorLog "/var/www/html/logs/autogl.com-error_log" CustomLog "/var/www/html/logs/autogl.com-access_log" common </VirtualHost> Code (markup): The service restart is failing when I make these two entries. The main domain autogl.com does not open when I am making oraclehut entry. I would also like to add that oraclehut's nameserver are set to cloudflare Any help will be appreciated. Thanks
Did you checked the error log file for the errors being generated while restarting the service ? Make sure you define the IP address for <Virtual host > entry and also confirm if the path for Error log and Customlog is correct.