Set the web page to be opened on non-localhost and open it using www and other methods.
张雷(雷)
张雷(雷) 2017-11-07 11:39:16
0
1
1215

Set the webpage to open on non-localhost, use www and other methods to open it

Now the webpage I write on my computer can only be opened through localhost to see the effect, and cannot be opened through www. Preview the webpage name, I am using phpstudy 2017 version, PHP is 7.0.12, please give me some advice

张雷(雷)
张雷(雷)

reply all(1)
Day

After setting the domain name, you need to manually add 127.0.0.1 www.xxxx.com in the host file of the C drive. The default is port 80. If your site port is 81, then enter the local domain in the browser Named www.xxxx.com:81

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template