How to configure virtual domain name in phpstudy?

青灯夜游
Release: 2019-06-17 18:27:39
Original
7741 people have browsed it

How to configure virtual domain name in phpstudy?

Steps for phpstudy to configure a virtual domain name:

1. Open phpstudy and select [Other Options Menu] -->[Site Domain Name Management 】

How to configure virtual domain name in phpstudy?

2. Configure the site domain name

3. Set up the hosts file

Select [Other Options Menu]-->[Open hosts], configure the hosts file

How to configure virtual domain name in phpstudy?

Open the hosts file, and add local virtual machines at the end as required The domain name must correspond to the virtual domain name just filled in

Click to save

4. Restart, and then access directly through the domain name

The above is the detailed content of How to configure virtual domain name in phpstudy?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template