• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Swap two domain content

jehutyy

New Pleskian
Hi everyone,
I'm fairly new to plesk and I have hard time figuring out things. Here's my situation :

I have two domain with different content that have been configured with plesk. Both have been configured by a coworker that doesn't have much time anymore to work on them. Let's call them testing.com and master.com. One is a production website whereas the other one is an upgraded version of the former. I would like to keep these two distinct domain obviously but just swapping content.

I tried to achieve this by connecting with ssh and trying changing symlink but it appears to break both website. Another approach was to swap both httpdocs in the doc root of each website but it appears to create a mix up between sites.

I have the sense that plesk could permit that directly from admin interface without going into ssh guru stuff but I can't figure it out.
 
Try to do it just with renaming domains.
Domain name in Hosting Settings.
 
I thought about that but can't help but ask myself what would happen if I rename into something that already exist. Will it overwrite or just says "domain already exists" ?
 
No, you need three renaming - one is temporary for avoiding "domain already exists".
 
I just tested the solution we talked about earlier and that doesn't work as expected.
When I try in my browser I get the default parallel page and not the new site I made.
Furthermore I query the new master.com which redirects me to testing.com.

Is there any configuration that I need to touch in order to make it works ?
 
Try to run

# plesk repair web

after domains renaming.
 
Back
Top