Current time: 11-22-2024, 09:44 PM Hello There, Guest! (LoginRegister)


Post Reply 
Alias domain redirecting to maindomain instead of the alias domain
Author Message
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #1
Alias domain redirecting to maindomain instead of the alias domain
One of my mainaccounts has no data in the HTDOCS directory. Now I created an aliasdomain with standard index.html in the corresponding HTDOCS.

When surfing to the newly created aliasdomain It looks like it takes me to the main htdocs in stead of the aliasdomain. What is wrong? The mainaccount already has 5 subdomains who are all working

I'm running RC7 now on Debian Etch

Any suggestions what is wrong? Max. aliases for this domain is 0 (unlimited)
01-07-2009 12:58 AM
Visit this user's website Find all posts by this user Quote this message in a reply
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #2
RE: Alias domain redirecting to maindomain instead of the alias domain
I don't understand. AFAIK alias domain is to redirect one domain to another, not to redirect a folder.
To redirect to a specific folder you can put this index in htdocs.

Code:
<html>
<head>
<title>Title of the site</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="refresh" CONTENT="0; url=http://www.domain.com/folder_to_redirect">
</head>
01-07-2009 01:34 AM
Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #3
RE: Alias domain redirecting to maindomain instead of the alias domain
What I meant is this:

Client has http://www.domain.xxx under /htdocs
Clients adds second domain (alias domain) http://www.domain.yyy under /domain.yyy/htdocs

When trying to reach http://www.domain.yyy on the internet it shows the content of http://www.domain.xxx. There is no redirect active. Both domains are added in an external DNS wich is not running on the ISPCP server

Tonight I added under an other client a subdomain and this one refers to the loginscreen of ISPCP. What is happening here? I lost it completely Smile
01-09-2009 04:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #4
RE: Alias domain redirecting to maindomain instead of the alias domain
Ok.
You have http://www.domain.com with mount point http://www.domain.com/htdocs and http://www.domain.org with mount point http://www.domain.org/htdocs.
When you create an alias domain you have to put a mount point. What did you put there? The domain alias don't create the folder automatically, you need to create it and put the domain files in there or you need to specify a folder that already exists in the mount point.
So when you create the http://www.domain.org alias there is not http://www.domain.org folder, you have to create it, or create a new ispcp user with http://www.domain.org and you will have a http://www.domain.org folder but will be outside of http://www.domain.com.
Hope you can understand me, english isn't my native language.

Greetings.

c.
01-09-2009 04:31 PM
Find all posts by this user Quote this message in a reply
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #5
RE: Alias domain redirecting to maindomain instead of the alias domain
(01-09-2009 04:31 PM)coper Wrote:  Ok.
You have http://www.domain.com with mount point http://www.domain.com/htdocs and http://www.domain.org with mount point http://www.domain.org/htdocs.
When you create an alias domain you have to put a mount point. What did you put there? The domain alias don't create the folder automatically, you need to create it and put the domain files in there or you need to specify a folder that already exists in the mount point.
So when you create the http://www.domain.org alias there is not http://www.domain.org folder, you have to create it, or create a new ispcp user with http://www.domain.org and you will have a http://www.domain.org folder but will be outside of http://www.domain.com.
Hope you can understand me, english isn't my native language.

Greetings.

c.

When creating an alias domain it suggests a mounting point automaticly. When approving this the mounting point is also created and the default files are added to it. But when trying to acces the site by entering it in my Firefox (http://www.domain.org), it shows domain.com or doesn't show anything at all.
01-10-2009 01:32 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #6
RE: Alias domain redirecting to maindomain instead of the alias domain
Bind9 restart and try again, this issue was discussed in a Spanish corner and the solution was to reboot the server dns.

http://www.isp-control.net/forum/showthr...p?tid=5278
01-10-2009 02:49 AM
Visit this user's website Find all posts by this user Quote this message in a reply
coper Offline
Junior Member
*

Posts: 91
Joined: Nov 2008
Reputation: 0
Post: #7
RE: Alias domain redirecting to maindomain instead of the alias domain
You did not answer my question. What mounting point did you put for http://www.domain.org?
And domain.org is a real hostname pointing to your DNS server?
(This post was last modified: 01-10-2009 02:52 AM by coper.)
01-10-2009 02:50 AM
Find all posts by this user Quote this message in a reply
darkrunner Offline
Junior Member
*

Posts: 16
Joined: Nov 2007
Reputation: 0
Post: #8
RE: Alias domain redirecting to maindomain instead of the alias domain
hi how can i redirect to subdomain to local internel iss server ?
02-25-2009 05:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)