#1  
Old 16th May 2006, 21: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

Hi
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
  #2  
Old 17th May 2006, 15:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Do you want the subdomains to point to the same web space as the main domain?
__________________
Falko
--
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
Reply

Bookmarks

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 02:58
Problem with the installation of Dokeos (LMS) in ISPConfig jofranco General 4 28th April 2006 00:45
PHP/MySQL/Apache2/ISPConfig configuration issues? senzapaura General 21 25th December 2005 14:01
install apache 1.3 on FC 4 superg Server Operation 1 22nd December 2005 17:44
Apache 1.3 Support SleeperZ General 3 9th November 2005 11:10


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


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