• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue create domain if subdomain already created

geehaa

Basic Pleskian
i have a domain and was hosted somewhere external (eg: mydomain.com).
i wanted to eventually migrate the website to a newly installed plesk server.

so i installed plesk on a new server.

when setting up plesk i could not use hostname mydomain.com because that A record is pointing to running external website.

so i decided to use a subdomain as domain:
plesk.mydomain.com

after some time i wanted to migrate the main extarnel website mydomain.com to the plesk machine.

so went to 'add domain name' tab in plesk

but i could not create a new domain:
mydomain.com

because it says:
```
Domain name *
‪www. ‬ [mydomain.com]
This domain name already exists.
```

but this is not true because only the subdomain exists.

how to fix this?
 
same problem exitst for creating subdomains.

eg:
if i want to create:
subdomain.mydomain.com

i only get the option to specify a subdomain for :
subdomain [.plesk.mydomain.com]
 
i guess the problem is that when you specify the main domain as "sub.domain.tld" plesk thinks the main domain is "domain.tld" even though its not.
 
Would it be an option to rename the subdomain to any phantasy name, then create the main domain, then rename the phantasy name back to the subdomain? I have not tested it and it will probably need to be done in the same subscription and not in separate subscriptions, but there is a chance that this could work.
 
could try that but these are production sites so very reluctant to play around with it just like that.

rather it would be nice if plesk would not try to think for you in this case.

in fact, what we call a domain (eg: company.com) is actually a subdomain itself. (.com is the actual top level domain, hence the name TLD), right?

so if you decide to create aa.bb.cc.dd as first domain, why would it not be allowed to create cc.dd as next domain?
 
Back
Top