Alias domain redirecting to maindomain instead of the alias domain - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Alias domain redirecting to maindomain instead of the alias domain (/thread-5368.html) |
Alias domain redirecting to maindomain instead of the alias domain - hendry - 01-07-2009 12:58 AM 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) RE: Alias domain redirecting to maindomain instead of the alias domain - coper - 01-07-2009 01:34 AM 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> RE: Alias domain redirecting to maindomain instead of the alias domain - hendry - 01-09-2009 04:57 AM 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 RE: Alias domain redirecting to maindomain instead of the alias domain - coper - 01-09-2009 04:31 PM 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. RE: Alias domain redirecting to maindomain instead of the alias domain - hendry - 01-10-2009 01:32 AM (01-09-2009 04:31 PM)coper Wrote: Ok. 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. RE: Alias domain redirecting to maindomain instead of the alias domain - kurgans - 01-10-2009 02:49 AM 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/showthread.php?tid=5278 RE: Alias domain redirecting to maindomain instead of the alias domain - coper - 01-10-2009 02:50 AM 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? RE: Alias domain redirecting to maindomain instead of the alias domain - darkrunner - 02-25-2009 05:01 PM hi how can i redirect to subdomain to local internel iss server ? |