If there are multiple sites, should the ports be set to 80? How to configure hosts?
My hosts are blank. Blank file domain name resolution is useless and annoying. It’s a numbing piece of junk software. The official doesn’t even explain how to fix it. I’m going to fuck you up a hundred thousand times.
To configure a virtual host, you can start from three aspects:
1. port Port
2. ip
3. ServerName domain name
Multiple sites can be created from any point above
The port is writable or not, and the default is 80.
Just write it down directly in hosts, there will be no conflict.
The main thing is to write the domain name and directory, and then add it to hosts.
My hosts are blank. Blank file domain name resolution is useless and annoying. It’s a numbing piece of junk software. The official doesn’t even explain how to fix it. I’m going to fuck you up a hundred thousand times.
To configure a virtual host, you can start from three aspects:
1. port Port
2. ip
3. ServerName domain name
Multiple sites can be created from any point above
The port is writable or not, and the default is 80.
Just write it down directly in hosts, there will be no conflict.
The main thing is to write the domain name and directory, and then add it to hosts.