foykes
By:
foykes

How to make a subdomain on same droplet?

July 27, 2014 2.7k views

Hello,
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

Thanks

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.