Want to subscribe to topics you're interested in?
Become a Member

Nginx Redirecting/Forwarding secondary domains...

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by speedway, Jun 10, 2016.

  1. speedway

    speedway Member

    48
    13
    8
    Nov 28, 2015
    Sydney, AUSTRALIA
    Ratings:
    +18
    Local Time:
    1:20 PM
    1.19.2
    Dont' Know Right Now
    Hi all

    What is the best way to redirect secondary domains to one master domain? I have 2 extra variation domains that I want to redirect to one domain, say domain1.com and domain2.com to domain3.com so all of them point to the same site. Would I need to create boilerplate sites with centmin then modify each conf file to get them to go where I want?

    I'm a bit green on this sort of thing so any help would be appreciated.


    Cheers
    Bruce
     
  2. Jimmy

    Jimmy Well-Known Member

    1,788
    390
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +990
    Local Time:
    11:20 PM
  3. speedway

    speedway Member

    48
    13
    8
    Nov 28, 2015
    Sydney, AUSTRALIA
    Ratings:
    +18
    Local Time:
    1:20 PM
    1.19.2
    Dont' Know Right Now