Support » Networking WordPress » Subdomains don't work after moving the multisite

  • Resolved fanta00

    (@fanta00)


    Hello,
    I had multisite working on a server with older version PHP. In order to upgrade to WP 3.2.1 I had to ask my host to upgrade to higher PHP version. I backed everything up, and after upgrade moved the files back to the server, restored the database, I made the .htaccess writable and I was told the wildcards were also set up. The main site is working, but the subdomains show only default Plesk index page. Even when I create new sites, it’s the same problem. Do I need to restore the backup in different way, or am I missing something?
    Thanks for any help!

    [edit: maybe worth mentioning that main domain only works without www prefix, with www it shows default plesk page too)

Viewing 8 replies - 1 through 8 (of 8 total)
  • What happens if you try to ping a subdomain? If the wildcard is in place and working, you should get a response. If it’s not, you won’t. I think…

    Thank you for reply. Yes it gives response on a subdomain, when I ping it it shows some details. So if it means the wildcard is working, what else could be a problem?

    It could be a problem with the rewrite rules in your .htaccess file. Does it contain rewrite rules like the subdomain example here:
    http://codex.wordpress.org/Create_A_Network#.htaccess_and_Mod_Rewrite

    The main site is working, but the subdomains show only default Plesk index page.

    Where did you map the subdomains to in your httpd.conf file ?

    Have you found a solution to this issue?

    My server recently was hacked and I had to restore it. I have put in place the site files and restored the database but now only the main domain is visible, all other sub-sites show the default plesk page. Logging in to the backend has all the same info as I did before.

    I asked my host to restore my backup (made in plesk) and the problem was gone, so i suspect when i was restoring or copying the files some of them became corrupted or sth, ask your host to restore the backup for you especiqlly if its a big file, maybe that will help

    all other sub-sites show the default plesk page

    Check with your host. If the subdomains are showing that, then somehow your domain mapping/wildcards are busted.

    Solution found. While all the mappings were all correct there was one setting in Plesk that did not get restored (since the server was reset and it would not have been part of the backup files). Under our Server settings for IP Addresses I had to set the Default Site for the shared IP to point to my main site URL.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Subdomains don't work after moving the multisite’ is closed to new replies.