Setting up a Host File - Faking URLs

后端 未结 1 1346
南旧
南旧 2021-02-20 07:36

I\'m trying to set up my development instances so that I can fake some urls that I own. My website has a number of url\'s and depending on the one you visit my site will act dif

相关标签:
1条回答
  • 2021-02-20 08:17

    Your HOSTS file looks good. Also try adding the www version of each one, e.g.: 127.0.0.1 localhost 127.0.0.1 SomeDomain.com 127.0.0.1 www.SomeDomain.com etc

    However, the problem is probably the setup of the web server. If you're using IIS, the problem probably is that you haven't set up host headers correctly.

    0 讨论(0)
提交回复
热议问题