apache redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 
I would like to learn how to redirect a subdomain on my website back to the parent site once again.
 
Eg:
 
My main site is: www.example.com
 
I created subdomain.example.com
 
Now I want that when user types subdomain.example.com in the url bar it goes to www.example.com
 
Want to learn 2 things -
 
1) Redirection without url bar url getting unchanged
 
2) Redirection with url also getting changed to www.example.com
 
What's the best way to do this?
 
At how many levels can this happen (DNS, Apache, etc)?
 
Which the best place to do this?
 
Any good documentation (easy to understand redirection doc somewhere)?
 
Let me know.
 
Thanks in advance,
Mandy.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux