WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Subdomains don't work after moving the multisite (9 posts)

  1. fanta00
    Member
    Posted 3 years ago #

    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)

  2. dgilmour
    Member
    Posted 3 years ago #

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

  3. fanta00
    Member
    Posted 3 years ago #

    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?

  4. dgilmour
    Member
    Posted 3 years ago #

    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

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

  6. edzio
    Member
    Posted 2 years ago #

    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.

  7. fanta00
    Member
    Posted 2 years ago #

    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

  8. 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.

  9. edzio
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic