Old 16th May 2006, 22:45
mattbrown mattbrown is offline
Junior Member
Join Date: May 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache Web Forwaring

Ive been trying to find out about redirecting urls with apache but getting a bit confused

basically i have www.mydomain.com which points to the ip of my web server per normal, now some other people want to use sub omains ie something.mydomain.com etc etc so i make a new A record for something.mydomain.com which points to my apache server.

Now when somebody goes to this address i want apache to redirect them somewhere else just like somebody like 123reg would (framed). at present i overcome this by adding a virtual server for the domain then adding a php file to the virtual servers document root and getting it to send a new header but this is surely not the best way to go about this and in turn also changes the url in the users browser
Reply With Quote
Sponsored Links
Old 17th May 2006, 16:42
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Do you want the subdomains to point to the same web space as the main domain?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_mono apache 2.2 ColdDoT Server Operation 5 23rd May 2006 03:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 01:45
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 15:01
install apache 1.3 on FC 4 superg Server Operation 1 22nd December 2005 18:44
Apache 1.3 Support SleeperZ General 3 9th November 2005 12:10

All times are GMT +2. The time now is 03:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.