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 and also be able to host my main domain (Website Landing Page) 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

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.

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.


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 and to be a single welcome page, while the 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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.