Support » Networking WordPress » Localhost Multisite with Subdomain Pages Error

  • charles2359



    I have setup a multisite on my localhost and edited the hosts file to allow for subdomains.


    I am using the latest version of wordpress and MAMP.

    Things seemed to be working fine however when I am on my site and try to click on a page in the menu it gives me the following error.

    “Not Found
    The requested URL /page-name/ was not found on this server.”

    I have found some sites instructing me to edit the httpd.conf file to the following

    NameVirtualHost *:80
    <VirtualHost *:80>
    DocumentRoot “/Users[Your User Name]/Sites/”
    ServerName localhost
    <VirtualHost *:80>
    DocumentRoot “/Users/[Your User Name]/Sites/wordpress”
    AllowOverride All

    Should I just set it up for development using subdirectories? Can I change it once I upload to the hosting server when the sites go live?

    Or is it best to set it up properly now using subdomains so it’s easier when the site goes live on a “public” server?

    Are others developing multisites locally using subdomains?

    Thanks for your help.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Localhost Multisite with Subdomain Pages Error’ is closed to new replies.