Learn about Centmin Mod LEMP Stack today
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 Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:04 PM
    Nginx-1.13.x
    MariaDB 10.1.x
  2. RoldanLT

    RoldanLT Well-Known Member

    3,978
    965
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,329
    Local Time:
    5:04 AM
    1.11
    10.2
    Just a redirect?
    You can place an html or php redirect file.
    Simple :)
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,945
    6,915
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,413
    Local Time:
    7:04 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  4. pamamolf

    pamamolf Well-Known Member

    2,820
    253
    83
    May 31, 2014
    Ratings:
    +447
    Local Time:
    11:04 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Thanks both of you :)