Question

How to add a subdomain to an internal page of a Plesk droplet

Here is the situation I have: First I have a Droplet where Plesk is running. There I have a web site that for the moment uses a domain I got from Namecheap. On the other hand, I have an application running on an App Platform which has an important domain because there runs an official website of an institution. I would like to create a subdomain of this important domain that points to an application in the App Platform in order to assign it to this internal page of the Plesk droplet. What has happened to me is that when I create the subdomain and I indicate the IP of the Plesk droplets it sends me to the login page of Plesk administration and I want the internal page in Plesk to be the one that has this subdomain and remove the one it has now. Thanks for enlightening me on this matter

Diagram of current situation and what we are looking for


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.

But what would be the configuration of the subdomain from Digital Ocean? I can create a subdomain there but what should I add in the records configuration for this to be possible? I assign it with no problem in plesk but I need to do the configuration from the DO panel when I create the subdomain and there I can not configure the records for this case, because if I assign the ip to a record A it sends me to the PLESK login. If I did it from Namecheap I would have no problem because I add a glue record.

KFSys
Site Moderator
Site Moderator badge
February 26, 2024

Heya @borisbarzotto,

If I understand correcrtly, you’ll need to add the subdomain you created to be displayed on the Plesk droplet. To do so, you need to add the subdomain as part of the Apache configuration file which Plesk should be using to display the content.

Try DigitalOcean for free

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

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.