Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 12th December 2008, 22:19
jasonv jasonv is offline
Junior Member
Join Date: Dec 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Domain name mapping - variables in url

Suppose there is an application running in some host - hostserver.com. Domain name www.domain.com maps to hostserver.com. Is it possible to have different domains which map to the same host server through the same application, passing variables via the url?

www.productA.com -> www.domain.com/productA and
www.productB.com -> www.domain.com/productB where
/productA and /productB are in fact ?query=productA and productB using mod_rewrite, and not directories.

Last edited by jasonv; 12th December 2008 at 22:22.
Reply With Quote
Sponsored Links
Old 13th December 2008, 19:13
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Yes, should be possible using mod_rewrite: http://httpd.apache.org/docs/2.2/rew...ite_guide.html
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 17:54
Postfix config - virtual domain mapping problem spdavid Installation/Configuration 1 24th May 2008 13:49
Domain Mapping fannar Server Operation 10 11th June 2007 01:41
Change of URL in Webmail in second domain jofranco General 1 8th May 2006 01:37
ISPConfig - Install/Update deletes hostname from my domain from admin URL Prompt Developers' Forum 4 23rd November 2005 00:01

All times are GMT +2. The time now is 11:06.

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