[Apache] Redirect a folder to a subdomain [Apache] Redirect a folder to a subdomain
Posts 1 to 2 of 2
  1. #1

    TykeLike

    SimonMac's Avatar
    Join Date
    Aug 2010
    Location
    God's Own Republic Of Yorkshire
    Posts
    22,625

    Default [Apache] Redirect a folder to a subdomain

    If I have www.randomdomainname.com/testfolder and I want to redirect it to testfolder.randomdomainname.com what's the easiest way of doing it?
    “Live a good life. If there are gods and they are just, then they will not care how devout you have been, but will welcome you based on the virtues you have lived by. If there are gods, but unjust, then you should not want to worship them. If there are no gods, then you will be gone, but will have lived a noble life that will live on in the memories of your loved ones.”

    ― Marcus Aurelius

  2. #2

    More time posting than coding


    Join Date
    Jun 2015
    Posts
    211

    Default

    Quote Originally Posted by SimonMac View Post
    If I have www.randomdomainname.com/testfolder and I want to redirect it to testfolder.randomdomainname.com what's the easiest way of doing it?
    https://stackoverflow.com/questions/...n-to-directory

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •