Domain mapping
Upcoming SlideShare
Loading in...5
×
 

Domain mapping

on

  • 7,228 views

 

Statistics

Views

Total Views
7,228
Views on SlideShare
7,091
Embed Views
137

Actions

Likes
6
Downloads
54
Comments
1

5 Embeds 137

http://www.slideshare.net 132
http://www.iweb34.com 2
http://facebook.slideshare.com 1
http://twitter.com 1
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Domain mapping Domain mapping Presentation Transcript

  • Domain Mapping with WordPress 3.0 Presented by Andrea Rennick WordCamp Chicago June 5 th 2010
  • Who am I?
    • @andrea_r on twitter
    • andrea_r on the WordPressMU support forum
    • http://wpmututorials.com
    • Cape-wearing Super Admin on other sites & networks
  • Sponsored by My mom http://atypicalife.net/mam/ Thanks Mom.
  • Overview
    • How to enable the network
    • Multiple sites
    • DNS magic
    The point: Running multiple WordPress blogs/sites from one install on one server.
  • Enable the Network
    • Menu hidden
    • Add line to config to show it:
      • define('WP_ALLOW_MULTISITE', true);
      • Visit Tools -> Network
      • Follow steps
    http://codex.wordpress.org/Create_A_Network
  •  
  •  
  • Network Gotchas
    • Wildcard subdomain support from webhost
    • Subfolder option disabled if your blog is more than a month old
      • Can workaround
      • Inserts /blog/ in the permalink of main site
      • Can also be disabled
  • Create our second site
    • Visit Super Admin -> Sites
    • Add a Site.
    • Yes, it really is that easy.
      • Make sure it works first.
    Sample site: Mommieblogs.com see: sillyandrea.mommieblogs.com
  •  
  • The Magic Plugin
    • WordPress MU Domain Mapping
      • http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/
    • Can install via backend, but you will have to move files
    • Mu-plugins or network activate?
    sunrise.php to /wp-content/ define( 'SUNRISE', 'on' ); in wp-config
  • Super Admin settings
    • Find your IP address
    • Can use a CNAME instead
    • Domain options
      • Remote login
      • Permanent redirect
      • User domain page
      • Redirect admin
  •  
  • Map the Domain to the Site
    • Visit your second site
    • Tools – Domain Mapping
    • Fill in the options & save
    sillyandrea.mommieblogs.com sillyandrea.com
  •  
  •  
  • Tell the Server
    • Park the domain in Cpanel
      • What if it's an add-on domain?
  •  
  • Tell the Server II
    • Geek part: add it to the vhost entry
    <VirtualHost mommieblogs.com> ..... DocumentRoot /var/www/html/mommieblogs ServerName mommieblogs.com ServerAlias *.mommieblogs.com sillyandrea.com ..... </VirtualHost>
  • Mapping in Volume
    • VPS or dedicated
    • Access to Apache configs or really good support team
  • Named wildcard host NamedVirtualHost 96.30.51.123 <VirtualHost 96.30.51.123> ..... DocumentRoot /your/wp/install ServerName mommieblogs.com .... </VirtualHost>
  • DNS time
    • A record
    • IP address
    • wait
  •  
  •  
  • Live Examples
    • http://ronandandrea.com
    • http://wpmututorials.com
    • http://freebpthemes.com
    That's it!
  • Multiple Networks
    • atypicalife.net on same install as previous examples
    • Has member sites
      • /mam/
      • /recipes/
      • /san/
      • /sarah/
  • Our Plugin
    • Domain Mapping
    • Multiple Networks
    • Awesome documentation included
    • Very affordable
    http://wpmututorials.com/simple-multi-site-plugin-e-book/
  • Thanks!
    • Follow me on twitter @andrea_r
    • More tutorials at:
      • http://wpmututorials.com