Question

How to add and set up a new N-level subdomain?

I have 2 droplets. For the 1st one I’ve set up a domain – my_domain.com.

I don’t know to setup N level domains. How can I set up a subdomain, something like “my.sub.xxx.yyy.my_domain.com” for the 2nd one which is 6 level domain?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

So first you need to create the A or CNAME record in the DNS of your domain.

with what host name?

Hi @samoshi

So first you need to create the A or CNAME record in the DNS of your domain. Have you created the DNS entry at the registrar?

Then you need to setup your web server (I’m guessing) to accept connections to that domain. Which web server are you using - Apache or Nginx?