I want to forward a domain name to another location using the co-domain/forwarding option: The domain name to be forwarded is:http://www.domain-A.tld The location to forward to: http://www.domain-B.tld/subdirectory/filename.htm (Both sites/locations are on the same ISPConfig server). Everyhting seems to be ok, but when i visit http://www.domain-A.tld in my browser, the domainname http://www.domain-A.tld is forwarded to location http://www.domain-B.tld/subdirectory/filename.htm/ and not to location http://www.domain-B.tld/subdirectory/filename.htm as defined. The result is an 404 - file not found error. How can i remove the extra / at the end of the URL, so that the forward operation will operate as it should be? Or is this a small bug, because i did not define the extra / at the end of the URL under the co-domain/forward option?
easy fix Granted I don't have the program solution, but the way I got around this problem was making the default index redirect to what ever domain or what ever I wanted.
Hans, you can add the co-domain without forwarding and then add a redirect directive for apache in the apache directives field.
Thank you Till. I understand that ISPConfig assumes that the location to forward to, is always a directory. It would be nice if we can add a directory (with /) and a specific file ass well (without /), as it is more specific.