#1  
Old 6th August 2008, 07:40
jburrell jburrell is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default co-domain forwarding issue

Ok, so, situation is the following.

I have a website set up, let us say abc.com

I have a few other domains purchased with names related to abc.com (for examples sake 123.com and xyz.com)

the abc.com website is a joomla site.

Currently I have these domains set up as co-domains for that site, and this works fine, with one important exception.

For example, 123.com loads the main abc.com site fine, under the appropriate domain url.

Content can be browsed to under 123.com or abc.com and the domain "masquerade" (not sure if that is the correct terminology) works fine.

However, my intention was for these alternate urls to forward to a specific part of the website rather than just the base site.

so, for example, I would like 123.com to drop the person at 123.com/help-and-support/about-us

However, if I add what I assume is neccessary for this to occur to the ISPConfig co-domain forward field "/help-and-support/about-us" this causes the 123.com url to redirect to abc.com/help-and-support/about-us rather than 123.com/help-and-support/about-us.

I have tried all variations I can think of (full http://www.123.com/help-and-support/about-us url, etc) and havent stumbled across anything that works.

So, I am curious if anyone might be able to tell me how to get this working. It seems a relatively simple thing, but perhaps the functionality is not designed to do what I want to do?

Any assistance much appreciated.

Can provide more detailed information if requested.
Reply With Quote
Sponsored Links
  #2  
Old 6th August 2008, 08:42
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts
Default

Have a look here.

If i understand you well, it can be a solution for you.
__________________
Hans

MrHostman | Managed Hosting
Reply With Quote
  #3  
Old 6th August 2008, 09:13
jburrell jburrell is offline
Junior Member
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, thanks for the reply. I just attempted this change, and it did not seem to work at all?

in the version of ISPConfig i am using the line in question that needs to be changed is on like 1400, however I changed this, and added the following to the apache directives for the site :

RewriteEngine on
RewriteCond %{HTTP_HOST} ^123.org [NC]
RewriteRule ^/(.*)$ /help-and-support/about-us$1 [L]

However it does not appear to do anything.

Perhaps that solution is not appropriate? I do not want the alternate domain names to point to a different site, just a different place on the same site?

or perhaps I am just adding this apache directive incorrectly.
Reply With Quote
  #4  
Old 6th August 2008, 19:10
bolero bolero is offline
Senior Member
 
Join Date: Apr 2008
Posts: 114
Thanks: 2
Thanked 8 Times in 8 Posts
 
Default

Look in Vhosts_ispconfig.conf what the actual rewrite rules look like. This should give you a hint why it's not working as expected.
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
Simple domain forwarding mbitzl Feature Requests 15 6th July 2008 21:28
Issue resolving to correct domain name with telnet chillifire Installation/Configuration 12 1st March 2008 01:05
email forwarding issue sygram General 3 9th February 2007 16:35
Hostname & Domain Name Issue DJLunacy Installation/Configuration 4 15th November 2006 10:24
ISP Services wouldn't restart any service, possibly Domain Host configuration issue. Kamran Shah Installation/Configuration 20 17th August 2006 18:33


All times are GMT +2. The time now is 01:36.


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