Find the answer to your Linux question:
Results 1 to 2 of 2
Hello all, I have a sub domain and a blog folder on that subdomain alpha.example.com alpha.example.com/blog/ I have it mapped such that blog.example.com points to alpha.example.com How do I setup ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2011
    Posts
    59

    Redirecting with Apache?


    Hello all,

    I have a sub domain and a blog folder on that subdomain

    alpha.example.com
    alpha.example.com/blog/

    I have it mapped such that blog.example.com points to alpha.example.com

    How do I setup htaccess so that anything within alpha.example.com/blog is written as blog.example.com/blog in the URL bar instead? (So it uses the blog subdomain rather than alpha subdomain)

    Thanks!

  2. #2
    Linux Newbie SunshineFolk's Avatar
    Join Date
    May 2011
    Location
    Kentucky or the South Pole with the Penguins
    Posts
    122
    .htaccess Tricks and Tips

    Scroll down to "multiple domains in one root" ( or ctrl-F )

    Is this what you mean?


    SunshineFolk

Posting Permissions

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