![]() |
Website redirection
Is there a way to redirect several different domains in ISPC3 to one site?
This seems to work OK with Alias domains but aliases don't "redirect" so the website is displayed with wrong domain address. If Apache rules are also used with redirect options an infinite loop is usually the result. I would like to have this setup... domain1.com -> www.domain.fi www.domain.com -> www.domain.fi domain1.net -> www.domain.fi www.domain.net -> www.domain.fi domain2.com -> www.domain.fi www.domain.com -> www.domain.fi domain2.net -> www.domain.fi www.domain.net -> www.domain.fi etc. How should this setup be configured so that infinite loop does not result? |
That is done with aliases. Add each domain as alias and use "http://www.domain.fi" as redirect path.
|
To clarify... instead of adding domain.fi in the alias name field I should add www.domain.fi?
|
No, you have to add http:// in front of the redirect path.
|
It does not seem to be possible to add www.domain.com in the Domain field on Alias settings.
|
The redirect path field, not the domain field.
Domain: domain1.net Parent website: domain.fi Redirect type: no flag Redirect path: http://www.domain.fi |
:)
thx. You are the man. |
redirect path to a FILE and not to a directory?
Good day,
I want to redirect to a file and not to a directory (ISPConfig Manual section 5.5 only writes about redirect to a path. so, I want to redirect www.foo.bar to http://www.otherfoo.bar/bla/blubb/lalelu.html it is not an option to let the "other" site at otherfoo.bar create an appropriate directory. How can this be solved? Within apache directly this is not a problem at all. thanks, martin |
Create a .htaccess file and add your apache rewrite rules there instead of using the rewrite function in the domain settings.
|
Quote:
|
| All times are GMT +2. The time now is 04:32. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.