Your SlideShare is downloading. ×
0
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Domain mapping
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Domain mapping

6,026

Published on

Published in: Technology
1 Comment
6 Likes
Statistics
Notes
No Downloads
Views
Total Views
6,026
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
68
Comments
1
Likes
6
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

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

×