Get the most out of your Centmin Mod LEMP stack
Become a Member

Setup a subdomain an forward it to a path

Discussion in 'Install & Upgrades or Pre-Install Questions' started by pamamolf, Nov 5, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,963
    407
    83
    May 31, 2014
    Ratings:
    +788
    Local Time:
    3:41 PM
    Nginx-1.17.x
    MariaDB 10.3.x
  2. rdan

    rdan Premium Member Premium Member

    5,126
    1,277
    113
    May 25, 2014
    Ratings:
    +1,954
    Local Time:
    9:41 PM
    Mainline
    10.2
    Just a redirect?
    You can place an html or php redirect file.
    Simple :)
     
  3. eva2000

    eva2000 Administrator Staff Member

    47,837
    10,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,948
    Local Time:
    11:41 PM
    Nginx 1.21.x
    MariaDB 10.x
    yup you can do it that way

    or even do it from DNS level, some providers like namecheap or internet.bs have feature to redirect any hostname to specific urls - url forwarding

    or via nginx plenty of guides via google Let me google that for you ;) Which you add to vhost for kb.mydomain.com
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,963
    407
    83
    May 31, 2014
    Ratings:
    +788
    Local Time:
    3:41 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    Thanks both of you :)