search

Home  >  Q&A  >  body text

php - Ubuntu domain name resolution to apache2 (problem of binding multiple domain names to different directories)

A friend has a domain name huashunglass.com that was resolved to my server's IP
and bound to his directory var/www/ZJM/website
When accessing the domain name, it was redirected to host.cxiansheng.cn/ZJM/website

< /p>

host.cxiansheng.cnThis second-level domain name points to the var/www directory

This is the configuration file

< /p>

I'm very surprised. I spent a long time and couldn't figure out why it was redirected to the root directory?

Is there something wrong with my configuration?

为情所困为情所困2808 days ago799

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-05-16 13:08:53

    Have you restarted the server?

    reply
    0
  • Cancelreply