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)
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!
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.
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.
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
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