Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th September 2012, 20:08
road.rage road.rage is offline
Junior Member
 
Join Date: Sep 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Could use help with subdomain/aliasdomain

Hi,

I've been up and down any how-to I could find but still haven't figured out how to set up a subdomain or alias-domain that does more than create a redirect-loop so far.

Goal: Set up numerous subdomains under one domain.
Attempts so far:

1) sub-domain way:
host: "sub1.domain.name"
domain: "domain.name" (selection)
redirect type: tried them all
redirect path: relative and absolute path to subdomain, nginx error log indicates I most likely put the right folder there but:

result: redirect loop, sometimes in the address bar, sometime in the error.log, sometimes both.

2) alias domain way:
well, basically the same, sometimes it did show the content from an index.php file, but still looped through error pages it could not find and broke.


In my eyes the whole subdomain system is broken since it does not allow to simply enter URL + folder and work, but that's really a different issue, if somebody can point me in the right direction I'm happy as long as I don't have to set up different webspace for each sudomains ( and that's an awful lot ).
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2012, 22:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,269 Times in 4,130 Posts
Default

If a subdomain shall have its own folder, then create a new website as described in the manual. The subdomain and aliasdomain functions are made for cms systems that are capable of handling multiple domains in one vhost, they are not made to host subdomains in different folders of a website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 28th September 2012, 22:30
road.rage road.rage is offline
Junior Member
 
Join Date: Sep 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

It does not need to have its entirely own path, the subdomains are just meant to give it a better "look".

So I have this folder layout:

./domain.net/listings/sub1
./domain.net/listings/sub2
...
./domain.net/listings/subx

which should end up being

sub1.domain.net
sub2.domain.net
...
subx.domain.net

This way they can easily share a common main folder. A distinct webspace for each ( and that's quite a few ) would also mean a new ftp-user for each one, right?
Reply With Quote
Reply

Bookmarks

Tags
aliasdomain, problems, subdomain

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.