• PraxisIT

    (@praxisit)


    Installed WordPress and it works great.

    However, I would like to also host some virtual hosts on the same web server. If I add the virtual hosts, they work fine, but then WordPress stops working. How do I get them to coexist?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter PraxisIT

    (@praxisit)

    Anyone? I know someone here must have a WordPress site up and running with other sites on the same server as virtual hosts?

    Thread Starter PraxisIT

    (@praxisit)

    I think I figured it out. I just moved WordPress out of the root into it’s own directory, and made it a Virtual Host as well. Now it’s just one of three Virtual Hosts on the server, and they all seem to coexist just fine.

    Thread Starter PraxisIT

    (@praxisit)

    However, now my next issue is: If I go to the Virtual Host URL (https://portal.mysite.com), WordPress comes up just fine.

    However, if I also just go to the IP address of my site (https://x.x.x.x), it goes to WordPress, even though there’s no Virtual Host for that. I was assuming that only if they went to the URL that matches the Virtual Host that it would go to WordPress, it looks like anything that doesn’t match one of the Virtual Hosts just goes to the first one in the list?

    Thread Starter PraxisIT

    (@praxisit)

    Yep. That was it. Whatever Virtual Host is first is the one that gets used.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Installed WordPress – now how to enable additional Virtual Hosts’ is closed to new replies.