How do icorrectly setup my first virtual host correctly
Firstly please excuse my ‘Noobiness’ but im new to VPS …
I am having trouble displaying my first virtual host web content after following the DO tutorial here :
I have completed the LAMP installation correctly step by step and all is working ok but when i come to displaying the test page in the virtual host i get the standard Chrome message :
This site can’t be reached
I restarted my instance properly and waited 2 days for the propagation period (just in case) but i still get the error message. However when i go to the url of my digital Ocean Hostname it shows the example 'success’ message in my virtual host file .html file.
Am i correct in thinking i need to change the name servers of the domain name for my virtual host site to the name servers of my Droplet/Hostname - currently they are pointing to Digital Oceans nameservers (primary, secondary and tertiary) - but they should point to those that i set up in my Digital Ocean control panel, right? which would be my Digital Ocean Hostname for NS records first, second and third, yes?
Also if this works then can i still show my main website on main hostname and a second site on my virtual host? or should i forget about virtual hosts and just have a separate server instance/droplet for each site i intend to build.