Home>Article>Operation and Maintenance> How to create a local site using the domain name management menu in phpstudy

How to create a local site using the domain name management menu in phpstudy

藏色散人
藏色散人 Original
2018-11-07 16:16:29 7990browse

This article mainly introduces how to use phpstudy to add a local domain name site under Windows (Create a local site through the site domain name management menu).

phpStudy is a program integration package for PHP debugging environment. It is a PHP development environment integration package that is popular among PHP learners.

You can download the required phpstudy version through the following link:

phpstudy2016 stable version download://m.sbmmt.com/xiazai/gongju/89

phpStudy 2018 latest version download://m.sbmmt.com/xiazai/gongju/845

Let’s continue to combine In the form of pictures and texts, I will introducephpstudy's method of configuring a local site.

After downloading and installing phpstudy first, open the other options menu inphpstudyand findSite Domain Name Management.

How to create a local site using the domain name management menu in phpstudy

Then insite domain name setting, fill in yourwebsite domain name(here we set www .wxb.cn),website directory, andsecond domain name(here we set wxb.cn) andport(generally set to port 80) .

How to create a local site using the domain name management menu in phpstudy

Website directory pathmust be thesite root directoryyou set. The site directory path we set here is D:\phpStudy\WWW\wxb

How to create a local site using the domain name management menu in phpstudy

After filling in the site, clickAdd and save.

How to create a local site using the domain name management menu in phpstudy

Then clickto restart the phpstudy environment.

How to create a local site using the domain name management menu in phpstudy

Then open thehosts fileandbind the site domain name.

How to create a local site using the domain name management menu in phpstudy

#After binding the site domain name, click Save and restart the phpstudy environment.

How to create a local site using the domain name management menu in phpstudy

#Finally, we can test whether the site domain name is set by accessing the index file under the site.

How to create a local site using the domain name management menu in phpstudy

How to create a local site using the domain name management menu in phpstudy

If as shown in the picture, it means we have successfully addedlocal sitewww.wxb. cn.

This article is about how to use phpstudy to create a local site under Windows. It is very simple and easy to understand. I hope it will be helpful to friends in need!

The above is the detailed content of How to create a local site using the domain name management menu 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