Domain access settings (local area network)
Open with Notepad
127.0.0.1 is a local loopback address
When you are finished configuring You can access the local site by entering www.0705.com in your local browser .
Wamp Integrated Environment Multi-site configuration
Configuration conditions:
Multiple sites may exist for one server
Each site will have its own domain name, then we need to set up a multi-site service on the server
Open the Wamp installation directory to find this red box file
Open ctrl+f with Notepad to bring up the search box
Input
Virtual hosts will jump to this line.
Locate the httpd-vhosts.conf file under the extra file under Apache
D:\wamp\bin\apache\apache2.4.9\conf\extra
Open with Notepad
When you open it, you'll find a lot of such green box content.
This is the template that the system provides to us, we can comment out or delete it with the pound sign
Follow the format of the green box to add a multisite path,
Be aware that the paths within the red box are consistent
a <VirtualHost> tag set up a site that can add multiple sites as needed
wamp-php Basic configuration of the integrated environment