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?
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?