Learn about Centmin Mod LEMP Stack today
Register Now

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,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    9:52 PM
    Nginx-1.13.x
    MariaDB 10.1.x
  2. RoldanLT

    RoldanLT Well-Known Member

    3,899
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    2:52 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,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    4:52 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,720
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    9:52 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Thanks both of you :)