If you are a website designer you'd probably find this information useful as its going to make things much easier for you. . Meanwhile this information is particularly targeted at those who already know about Wordpress Multi Site and how to use it.

Firstly i will give a little introduction to wordpress multisite.

 Introduction: As of WordPress 3.0, you have the ability to create a network of sites by using the multisite feature. This article contains instructions for creating a multisite network.
A multisite network can be very similar to your own personal version of WordPress.com. End users of your network can create their own sites on demand, just like end users of WordPress.com can create blogs on demand. If you do not have any need to allow end users to create their own sites on demand, you can create a multisite network in which only you, the administrator, can add new sites.
A multisite network is a collection of sites that all share the same WordPress installation. They can also share plugins and themes. The individual sites in the network are virtual sites in the sense that they do not have their own directories on your server, although they do have separate directories for media uploads within the shared installation, and they do have separate tables in the database.
Then on to the main thing.
Requirements:
1. A registered domain name.
2. A Wordpress multisite installation.

WordPress Multisite Domain-Mapping Setup

  1. Install WordPress MU Domain Mapping plugin. Activate it Network-wide.
  2. You have to edit the following line in wp-config.php file. (vim /var/www/example.com/htdocs/wp-config.php)
define( 'SUNRISE', 'on' );
  1. The copy sunrise.php from Domain-mapping plugins folder to wp-content folder of your WordPress setup.
Move from this folder /wp-content/plugins/wordpress-mu-domain-mapping/sunrise.php ->  to this folder /var/www/example.com/htdocs/wp-content/
  1. After this, go then have to navigate to  Network Admin >> Dashboard >> Settings >> Domain Mapping menu.
  2. On next screen, either provide IP address of your server which you want to use with other domains.
  3. Apart from this, you will notice few more settings: “Domain Options”. You can leave them as it is. I recommend enabling the “Permanent redirect” option.
That’s all. At this point your WordPress network is ready to handle domain mapping.

Mapping External Domains to sites in WordPress-Multisite (Continuous)

You can create new sites as usual in your WordPress-Multisite network. You will need to follow these extra steps in case you wish to map one or more domains to network sites.
  1. Go to Network Admin >> All Siteslist
  2. Click on edit link for a site for which you want to map external domain.
  3. If link is => http://example.com/wp-admin/network/site-info.php?id=5 ; your site-id => 5
  4. Go to Network Admin >> Dashboard >> Settings >> Domains
  5. Look for New Domain option
  6. Enter site-id and external-domain name.
  7. Click Save button!
Screenshot:
At this point, you need to add an A-record for external domain at your DNS registrar end. Since instructions for them vary from domain to domain its not possible to post all of them here! Go to your domain registrar or contact support to get proper instructions on how to add a records on your domain registrar.
You can also contact me if you have problems doing this.

How to connect a Top Level Domain to Wordpress multisite.

admin
,
Next PostNewer Posts Previous PostOlder Posts Home