• Resolved astewes

    (@astewes)


    About a year ago, I created a WordPress multisite installation consisting of 5 different websites. Each site is on a different domain in Production, and I’m using an external domain mapper plugin to make this work (I’m not using this plugin locally, only in Production).

    I was able to add another site today, but when I tried to access it, I got a blank Chrome page with the “ERR_NAME_NOT_RESOLVED” error. I do not recall having this problem the first time around.

    Is there an additional setting I need to account for, perhaps in my config.php or another file?

Viewing 6 replies - 1 through 6 (of 6 total)
  • jkhongusc

    (@jkhongusc)

    ERR_NAME_NOT_RESOLVED is a DNS problem. How did you register your domains?

    Thread Starter astewes

    (@astewes)

    Would this make a different with my local build? I thought domain registration would only matter for the live site?

    jkhongusc

    (@jkhongusc)

    > Would this make a different with my local build? I thought domain registration would only matter for the live site?

    What hostname are you using for your localbuild? If you are using ‘localhost’ that is pre-defined. If you are using any other domain name, it has to be resolved. If you tried using fake.domain.com, how does your brower know that is your local host or an external site.

    Thread Starter astewes

    (@astewes)

    localhost.com is what I’m using locally. The new site I created today follows the same structure as the ones created initially – newsite.localhost.com – however, the other sites work while the new one does not….

    Thread Starter astewes

    (@astewes)

    Upon further investigation, I found that the answer to my problem involved one simple, yet easy to overlook fix: I needed to add this new site to my hosts file.

    jkhongusc

    (@jkhongusc)

    That is how DNS works. There are DNS servers and there is your /etc/hosts file. Most personal computers will look in /etc/hosts first to resolve the name, then go to the external DNS servers.

    That is why I asked you how your browser resolved your (local) hostnames. Glad you figured it out =)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why am I getting ERR_NAME_NOT_RESOLVED when I add a site to my multisite install’ is closed to new replies.