• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Question After renaming a domain

Tor Jörgensborg

New Pleskian
Hello,

I am not a developer nor an linux expert so I hope my question in not silly or been asked before. I have tried to use the search but did not find an answer.

I have created a domain called develop4.se where I have a magento site. As the name suggest its a site we have been working on. Now we are finished and my idea was to rename the site to myworkingsite.com and change my dns pointer to ip adress for myworkingsite.com and I was back in action again. I tried this with another test site called testsite1.se.

I tested to rename my domain from develop4.se to testsite1.se and its working and I can see that directory name has change from develop4.se to testsite1.se. I also restarted me apache server.

When I try to access testsite1.se I got the default plesk page and it change name in the browser field from testsite1.se to develop4.se.

My question is ? What are I am missing and how can I get it to work so I can access my magento site from testsite1.se and its says testsite1.se in the browser field.

Best,

Tor
 
Hi Tor Jörgensborg,

before you reconfigure your configuration files, pls. check, that "/var/www/vhosts/develop4.se" was renamed to "/var/www/vhosts/testsite1.de" and consider to delete ( or rename ) the default "index.html", because the standard for serving files is defined as "index index.html index.cgi index.pl index.php index.xhtml index.htm index.shtml" => "index.html" is served BEFORE "index.php", when both files are existent in the document root.

To rebuild the configuration files, you can always use the command:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
 
Back
Top