search

Home  >  Q&A  >  body text

centos - apache二级域名怎么配置

如题 二级域名需要做解析吗

ringa_leeringa_lee2776 days ago614

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-25 09:03:11

    This depends on the specific configuration.

    1. If you only modify the DocumentRoot of the default configuration file, it will respond to all http requests of port 80 by default, which means that any first-level, second-level, multi-level domain names, and all IPs can access the website.

    2. If it is a virtual machine VirtualHost, you can add

      ServerAlias *.oo.xx

      To achieve the binding of all oo.xx second-level domain names.

    reply
    0
  • Cancelreply