• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Domain name is invalid

H

Hello World

Guest
I accidently chown all files and folders in /vhosts/mydomain.com, so I went into psa admin and remove the mydomain.com, When I tried to recreate the domain name, it said "Domain name is invalid".

I believe there are some pieces of mydomain.com on the server.

How do I completely clear mydomain.com, so I could create mydomain.com in the psa admin.


Note: i replaced my actual domain with "mydomain,com".
 
Login to your server, cd to the vhosts directory (/home/httpd/vhosts or /var/www/vhosts/, depending on your setup), "ls -al" to find out if your domain is there, if it is, issue a rm -rf <domain> to remove (forcably and recursively) the domain from the system.
 
I did that but I couldn't find any pieces of mydomain.com.

I also did an updatedb and find a find on mydomain.com, but nothing shown up.
 
Back
Top