Question

Is it possible to use a separate hosting provider for my subdomain and domain

Hello. I have a very urgent question. Can i have my web app on DO with its subdomain app.example.com and also be able to host my main domain (Website Landing Page) example.com on Namecheap?. Namecheap is the domain registrar. I need this because i use wordpress to build my websites and it has been a far smoother experience doing so on the Namecheap cPanel vs Wordpress droplet on DO. (Non-Coder over here)

Show comments

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

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.

alexdo
Site Moderator
Site Moderator badge
December 6, 2022

Hello @nojmoinc

There is no limitation to this. You can adjust the DNS and always point the A record for the domain and any sub-domains to different IP addresses.

This should be the case with any DNS provider.

Regards

KFSys
Site Moderator
Site Moderator badge
December 3, 2022

Hi @nojmoinc,

Yes, it’s possible and done all the time. All you need to do is edit your DNS and point your subdomain to the Droplet you have with DigitalOcean. It’s easy as that.

Hope that helps!

Hi Nojmo,

I guess you want you have your apex and www domain (like exmaple.com and www.example.com) to be a single welcome page, while the app.example.com can host you Wordpress blog or etc. This is totally praticable, but first we need to check are you using Nginx or Apache, because the answer to your problem varies on what engine you installed. Tell us some details, Please.

Kind Regards