How to make a subdomain on same droplet?

July 27, 2014 4.6k views

I want to make a subdomain on same droplet, just for 2 html files.
What I need to do? I’m really new to this


1 Answer

You will need to add a DNS record for the subdomain:

and add a virtualhost: Search results for ‘virtual host’. Choose the article that fits your setup, e.g. Apache on Ubuntu 14.10.

Have another answer? Share your knowledge.