Home  >  Article  >  Operation and Maintenance  >  How to configure virtual domain name in phpstudy?

How to configure virtual domain name in phpstudy?

青灯夜游
青灯夜游Original
2019-06-17 18:27:397726browse

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!

Statement:
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