Click on the other options menu in the picture above, the following dialog box will pop up, and then click on Site Domain Name Management
Then fill in any domain name you want in the edit box of the website domain name.
Here I will fill it in as www.test.com
( Note that this domain name must not be filled in with the domain name you often use to access the Internet. Otherwise, when you want to access it, you will access your locally built website. Remember) ,
Website Directory Edit Box You can choose any directory on your computer, but do not include Chinese characters in the path. In my case, it is D:\php\www\testfilename. After setting, click Add, click Save settings and generate the configuration file.
At this point, we are more than half successful. The last key step is to set the hosts of your computer (for the search for the hosts file, see the end of this article, the hosts file Search tips),
Open your hosts file with Notepad, and then set it as shown below:
Recommended Tutorial: phpStudy Quick Start Video Tutorial
The above is the detailed content of How to open the website in phpstudy. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6
Visual web development tools

Atom editor mac version download
The most popular open source editor

SublimeText3 Mac version
God-level code editing software (SublimeText3)
