Need Help with Domain Mapping on WordPress Multisite – Facing Issues

[ad_1]

Hi everyone,

I'm working on a WordPress multisite network and I'm encountering some issues with domain mapping that I could use some help with. Here’s a brief overview of my setup and the problems I'm facing:

Setup:

Main WordPress Multisite Network URL: https://[privacy].com/testingground/

Specific Site URL (intended to be mapped): https://[privacy].com/testingground/[site-name]/

Domain to Map: [newdomain].com

Issues:

Document Root Confusion:

I initially set the document root for [newdomain].com to /public_html/testingground/. Should this be correct or does it need to point to a different location?

Internal Server Error:

After making some changes, I’m now getting a 500 Internal Server Error on the domain. I suspect this might be due to incorrect domain mapping settings or other configuration issues.

Super Admin Login Issues:

I’m currently unable to log in as the super admin or with any user accounts. I suspect this might be related to the recent changes.

Missing Domain Mapping Plugin:

I tried finding domain mapping plugins but the ones I looked up seem outdated or unavailable. I need a reliable plugin or method to handle domain mapping for multisite.

Help Needed:

Correct Document Root Setup: What should the document root be for a domain mapped to a specific site in a multisite network?

Troubleshooting Internal Server Error: Any advice on common causes and fixes for 500 Internal Server Errors in multisite setups?

Domain Mapping Plugins: Recommendations for current, reliable domain mapping plugins or alternative methods for managing domain mapping.

Any help or advice would be greatly appreciated! If you need more information or specific details, let me know. Thanks in advance!

[ad_2]
2 Comments
  1. Assuming this is a Ubuntu Linux server. You might want to try the old school sunrise.php way of doing domain mapping in multisite. I had a site recently that was unique enough in its install that I needed to go that route. A WordPress developer named Jordan Trask in Canada helped me out a lot with this.

  2. Hi,

    First, make sure the document root for your new domain is set correctly. It should point to the main folder where WordPress is installed, like `/public_html/`, not a subdirectory. If you’re getting a 500 Internal Server Error, it could be due to a wrong `.htaccess` file. Make sure it has the right settings for WordPress multisite.

    For login issues, I think it is related to cookie settings. You can add `define(‘COOKIE_DOMAIN’, $_SERVER[‘HTTP_HOST’]);` to your `wp-config.php` file and clear your browser cookies.

    When it comes to domain mapping, you can use the WordPress MU Domain Mapping plugin if you’re on an older WordPress version, or use the built-in domain mapping feature if your WordPress is up to date. Ensure your DNS settings are correct and that SSL certificates are set up for both your main and new domains.

    Finally, in your WordPress admin area, go to Network Admin > Sites, edit the site you want to map, and put the new domain URL there. Save your changes and check if everything works.

    I hope this works for you and you get all my points

    Thanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer