Welcome! Log In Create A New Profile

Advanced

Trouble with Server Blocks for Virtual Hosts

Posted by drmarvin2k5 
Trouble with Server Blocks for Virtual Hosts
July 14, 2015 05:42PM
Hello experts.

I have a single site running fine on nginx, but I would like to be able to run multiple sites on the same server. I have read MANY sites and instructions, and tried a copious number of approaches, but the closest I can get it that my active site works fine, and the new one I'm trying to set up displays the same site as the main site.

http://hastebin.com/zadexaxoge.coffee

Those are both server blocks. Any suggestions of another approach? Am I missing something?

Thanks in advance.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready