Phpstudy Environment Configure multiple sites, bind domain names

Source: Internet
Author: User

Often do site friends, often in their own computer at the same time to establish multiple sites, and phpstudy This software can be a good solution to this problem, we see

Click on the other Options menu, the following dialog will pop up, then click on the site name management

Then in the site Domain name edit box to fill in any domain you want, here I fill in as www.test.com (note that this domain name must not fill in the domain you often use to the Internet, or when you want to visit, will visit your local build site, remember), Site Directory edit box you can choose your own computer any directory, but the path does not contain Chinese characters, I here for D:\E4A\examples, set up, then click Add, click Save Settings and generate the configuration file

To this step, has been successful more than half, the final key step is to set up your computer's hosts (Hosts file to look at the end of this article, the Hosts file find tips), use Notepad to open your Hosts file, and then press settings

This setting is complete, your new website domain name is: www.test.com website root directory is: D:\E4A\examples, multi-site is completed.

Phpstudy Environment Configure multiple sites, bind domain names

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.