Discussion in 'Developers' Forum' started by torusturtle, Sep 22, 2008.
What is the difference in behavior of those to domains?
Both will end up as Alias entry in the vhost. The difference is that a subdomain is always a subdomain of the main domain of the site. Example:
While aaliasdomains can be a different domain:
This has been splitted because users complained that they were not able to lock their customers down in ispconfig 2 to add only subdomains of their own domains and not other domains as the co-domain faeture in ispconfig 2 allows it.
Yes, this is a great feature. Thanks for adding it.
I have the same issue with ISPConfig3 which I just recently installed (changed from ISPCP-Omega) I found ISPConfig to have more options that I needed.
By default ISPConfig3 is not creating ServerAlias directive, is that normal? I added website as www.website.com and it properly redirect to a default Welcome to website page if I use www.website.com but browser displays It Works! only if I use website.com. I tried using Alias domain:
Parent Website: www.website.com
Redirect Path: www.website.com
and I get error 400.
Is there a work around to this?
Thanks a lot!
Never mind... thanks! I found the fix for it my bad I asked too soon the answer is in Alias Domain, I added a Website website.com then add an Alias Domain www.website.com without any redirection and it works.
But Till/Falko, why does it make the alias www.www.website.com when I add Website www.website.com then add an alias website.com? is it a bug?
Is it possible to choose which folder the subdomain should point at? Or how should they be used?
Yes, thats possible. Just create the folder and then set the folder as redirect path in the subdomain settings like this:
Make sure that you have a / at the beginning and the end.
Works just fine, thank you.
My alias domain mydomain2.com with redirect to /mydir/ is not redirecting, but instead it points to the web-root (directory /web/) of the main domain. If have tried all redirect types, unfortunatly without success.
What am I doing wrong?
Parent website mydomain.com
Redirect type L
Redirect pad /mydir/
The server is just new installed and there are no special settings applied. Also there are no URL-rewrite settings or other .htaccess settings. Thanks in advance for your help...
first of all, thanks to till&falko for their great job.
I've just installed Ispconfig 184.108.40.206 on a fresh debian5.0
I've configured a website example.com with the "Auto-Subdomain" option set to "*."
At this point, the "/etc/apache2/sites-enabled/example.com.vhost" file correctly contains the following lines:
Then, I tried to add an Aliasdomain like this:
Parent Website: example.com
and I expected the example.com.vhost file to contain an additional line such as:
but it didn't appear, and apache continued showing the "It Works" page on any "*.example.net" http request.
I also tried to repeat the operation in many different ways, configuring the Aliasdomain with some kind of Redirection, but I didn't notice any action on the "example.com.vhost" file.
It looks like the 220.127.116.11 version has some kind of bug on this feature, or I'm just not lucky today...
Thank you in advance for any help on such issue.
Look at the monitor if there are any errors. Also be aware that it takes some time until changes are applied.
Please make a new thread the next time as your problem is not related to this thread.
Separate names with a comma.