Home  >  Q&A  >  body text

If there are multiple sites, should the ports be set to 80? How to configure hosts?

If there are multiple sites, should the ports be set to 80? How to configure hosts?

沧海一声笑沧海一声笑2431 days ago1426

reply all(3)I'll reply

  • 张荣昌

    张荣昌2018-06-20 20:08:27

    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.

    reply
    0
  • 寻觅 beyond

    寻觅 beyond2018-03-17 23:51:35

    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

    reply
    0
  • 秋恒

    秋恒2018-03-14 12:01:13

    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.

    reply
    0
  • Cancelreply