By gentlecalm
I have a single Digital Ocean droplet with 5 websites hosted on it via virtualhost. Everything works fine. Their domain names point to each one individually. Using Ubuntu 14.04 and Apache.
I want to add a sixth “test” site, without a domain name pointing to it. I want to use it to test out some WordPress stuff. The physical location of the home page to this site is:
/var/www/test_site/html/index.html
Let’s say my server’s IP address is 555.555.555.555
What do I need to do to make this home page available to anyone on the internet as follows?
555.555.555.555/test_site/html/index.html
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I’ve already answered similar question here (How do i set which apache virtual host will my ip go to). Utilizing idea from linked answer, you can make test VHost as ‘default’ by placing it first.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.