
21st August 2006, 21:59
|
|
Member
|
|
Join Date: Jun 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Create a Subdomain
I have ISPConfig installed and working. Now, I want to create a subdomain but an not clear on all the steps required to do it.
I have my domain registered at GoDaddy.
Currently, I have www.domain.com configured at GoDaddy using "Total DNS Control" manager. How do I create http://dev.domain.com on my server and point GoDaddy to it?
I see the "co-domains" on the ISPConfig tab, and can create the "dev.domain.com" but then what? It doesn't create a folder for me to upload to. Can someone explain to me the steps?
Thanks.
|

22nd August 2006, 07:38
|
|
Senior Member
|
|
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by PortMan
I have ISPConfig installed and working. Now, I want to create a subdomain but an not clear on all the steps required to do it.
I have my domain registered at GoDaddy.
Currently, I have www.domain.com configured at GoDaddy using "Total DNS Control" manager. How do I create http://dev.domain.com on my server and point GoDaddy to it?
I see the "co-domains" on the ISPConfig tab, and can create the "dev.domain.com" but then what? It doesn't create a folder for me to upload to. Can someone explain to me the steps?
Thanks.
|
So did you find out how to create a subdomain, I'm in the same boat as you, queit new to ISPconf.
This ISPcong is alot different to what I was using.
TT
|

22nd August 2006, 07:45
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,903
Thanks: 693
Thanked 4,194 Times in 3,212 Posts
|
|
Subdomain (in ISPConfig named co-domain) points always to the same folder then the website it belongs to. To point it to another location you can enter the directory where it shall point to in the options of the co-domain.
If you want your subdomain to have a own root folder, just create a new website for the subdomain.
|

22nd August 2006, 14:39
|
|
Senior Member
|
|
Join Date: Aug 2006
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
Subdomain (in ISPConfig named co-domain) points always to the same folder then the website it belongs to. To point it to another location you can enter the directory where it shall point to in the options of the co-domain.
If you want your subdomain to have a own root folder, just create a new website for the subdomain.
|
Thanks, I've been at it for a while now and cant make heads or tails out of it.
This ISPconfig is way out of my league for now, I'll stick to the easyier stuff, thanks for the support.
TT
|

23rd August 2006, 13:08
|
|
Senior Member
|
|
Join Date: Apr 2006
Posts: 296
Thanks: 21
Thanked 22 Times in 14 Posts
|
|
Quote:
|
Originally Posted by PortMan
Currently, I have www.domain.com configured at GoDaddy using "Total DNS Control" manager. How do I create http://dev.domain.com on my server and point GoDaddy to it?
I see the "co-domains" on the ISPConfig tab, and can create the "dev.domain.com" but then what? It doesn't create a folder for me to upload to. Can someone explain to me the steps?
Thanks.
|
In ISPConfig add a Co-Domain
with Hostname "dev" and Domain "domain.com"
To point it to another directory switch to forward and type in "dev".
You should then create a directory "dev" within the "web" directory on your server.
To point to it the DNS should contain a CNAME of "dev.domain.com" and be directed to "domain.com"
|

12th December 2006, 23:47
|
|
Junior Member
|
|
Join Date: Mar 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by PortMan
I see the "co-domains" on the ISPConfig tab, and can create the "dev.domain.com" but then what? It doesn't create a folder for me to upload to. Can someone explain to me the steps?
|
I have the same problem.
I created co-domain, also created folder with same name, but still can't get the right result when I type the address in web browser. Why?
Tilen
Quote:
<VirtualHost 192.168.1.100:80>
ServerName www.puran.si:80
ServerAdmin webmaster@puran.si
DocumentRoot /srv/www/web12/web
ServerAlias forum.puran.si puran.si
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /srv/www/web12/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web12/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
AddType application/vnd.wap.wmlscriptc .wmlsc .wsc
AddType text/vnd.wap.wml .wml
AddType text/vnd.wap.wmlscript .ws .wmlscript
AddType image/vnd.wap.wbmp .wbmp
Alias /error/ "/srv/www/web12/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web12/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web12/user/$1/web/$3
RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum\.puran\.si [NC]
RewriteRule ^/(.*)$ http://www.puran.si/forum/$1 [R]
</VirtualHost>
#
#
#
|
Last edited by poba; 13th December 2006 at 00:39.
|

13th December 2006, 10:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,903
Thanks: 693
Thanked 4,194 Times in 3,212 Posts
|
|
Co-domains never create folders, they where a alias for the main domain. If you want to have a separate filder, create a new website instead of a co-domain.
|

13th December 2006, 11:23
|
|
Junior Member
|
|
Join Date: Mar 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by till
Co-domains never create folders, they where a alias for the main domain. If you want to have a separate filder, create a new website instead of a co-domain.
|
Hi,
I have domain www.puran.si. I also have folder forum in it www.puran.si/forum/. I want to create subdomain forum.puran.si so i can type this address insted of www.puran.si/forum.
Tilen
|

13th December 2006, 13:50
|
|
Junior Member
|
|
Join Date: Mar 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Maybe this is the problem. My friends can't see www.puran.si. I can (from my computer). ?!?!??!
Thanks, Tilen
|

13th December 2006, 14:42
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
The A record for www.puran.si is pointing to a local IP address:
Code:
dig www.puran.si
; <<>> DiG 9.2.1 <<>> www.puran.si
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24727
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;www.puran.si. IN A
;; ANSWER SECTION:
www.puran.si. 86400 IN A 192.168.1.100
;; Query time: 142 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Wed Dec 13 14:41:26 2006
;; MSG SIZE rcvd: 46
This means that nobody from outside your local network can see your web site. You must use the server's public IP address in the DNS record.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 02:23.
|
|
Recent comments
20 hours 36 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 17 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 11 hours ago