Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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 to your chosen domain
  3. Log in to WP and set up Multisite
  4. For every new subdomain, add it to the hosts file : 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. 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