Hello Guys So here is my question is i used godaddy hosting in past and there are direct option to create subdomain via cpanel but in digital ocean how can i create subdomain for my website (Paraphrasing Tool) and i also i think i have some speed issue also please help me guys. :(
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.
When you create a new subdomain in cPanel it performs a few steps. Without the control panel automating these there is a little more work to do. To create a new subdomain for your droplet and ensure that it is routed correctly by your web server (serving the content in the correct folder) you can follow the following steps:
Create a new “A” or “CNAME” record for your subdomain in the DNS section of the control panel (Networking->DNS) or if you are hosting your DNS elsewhere you can create the new record there. [This guide] covers how to use the DO DNS services and the steps needed to create an “A” or “CNAME” record on your domain.
Create a new virtualhost/server block on your web server. Now we need to tell our web server what to do if it receives a request for sub.example.org since it was only serving example.org previously. We do this by creating a new Virtualhost (Apache) or Server Block (Nginx) that will tell the web server what to do with a request depending on what name is being requested.
This guide covers setting up virtualhosts in Apache. This guide covers setting up server blocks in Nginx.
Hello, I could not make my subdomain work with these steps Hello, I could not make my subdomain work with these steps. please help
Click below to sign up and get $100 of credit to try our products over 60 days!
This article worked for me and I am able to run two blogs on one domain.
I found this comprehensive guide to creating a subdomain and running a website on it.