Skip to content

Instantly share code, notes, and snippets.

@jekkilekki
Last active September 19, 2015 21:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jekkilekki/95f32f536dc0fb248f29 to your computer and use it in GitHub Desktop.
Save jekkilekki/95f32f536dc0fb248f29 to your computer and use it in GitHub Desktop.
Run Localhost WP Multisite

WordPress Multisite won't run on any port except 80 apparently (not tested). :8080 != :80

  1. Install Bitnami WP Multisite
  2. Modify hosts file to point 127.0.0.1 to your chosen domain
  3. Log in to WP and set up Multisite
  4. For every new subdomain, add it to the hosts file : 127.0.0.1 sub.your.domain

Modify hosts

Mac (Terminal):

  1. cd /etc
  2. sudo vim hosts = enter password for root access
  3. i = Change to Insert Mode
  4. 127.0.0.1 your.domain
  5. ESC = Change to Command Mode
  6. :w = write changes
  7. :q = quit

Windows (Run Notepad in Administrator Mode - right-click):

  • Path: c:\windows\system32\drivers\etc\hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment