View Full Version : Subdoamins, DNS, Name servers etc
timaaarrreee
15th April 2008, 12:22
Hi all,
I have very recently installed ispconfig on an debian system and have purchased a domain to go with it. I am wanting the server to give subdomains as a website to my friends But i have a few problems:
1. I want to run my run my website the server itself but there is a shared IP page there (How do i access that page with FTP to put my own files there instead?)
2. Will i need to do something with DNS records or something to get sub-dmaains to work for example leave the hostname to www and make the domain (user).khost.co.nz?
3. How do i issue domains that offer email e.g pop.khost.co.nz and smtp.khost.co.nz?
Hope that is not asking for too much :o
Tim.
torusturtle
15th April 2008, 12:42
1. create a email user and add the Administrator tick.
There is only one Admin user per domain possible.
If you want to create subdomains for your friends I advice you to create a new page and fill in the subdomain name under Hostname instead of "www"
In this case you can create a Admin user for your friends and they can't login to your web
To access just use www.yourdomain.tld as address your email account (e.g. web1_admin) as user and the password
2. I would create the following entrys:
yourdomain.tld A yourIP
*.yourdomain.tld CNAME yourdomain.tld
mail.yourdomain.tld MX 10 yourdomain.tld
yourdomain.tld TXT v=spf1 a mx ~all
3. if you have installed ISPConfig following the perfect setup then emails are available as soon as you create a email user.
Address is whatever you want and have in your DNS. (e.g. mail.yourdomain.tld)
timaaarrreee
15th April 2008, 13:15
thanks, im not sure what you mean with the "yourdomain.tld TXT v=spf1 a mx ~all" part how do i enter that.
I also thought id let you know that i am using a dynamic IP so i have a dns service at afraid.org
falko
16th April 2008, 22:58
thanks, im not sure what you mean with the "yourdomain.tld TXT v=spf1 a mx ~all" part how do i enter that.Take a look at http://www.howtoforge.com/ispconfig_dns_providerdomain_schlund
I also thought id let you know that i am using a dynamic IP so i have a dns service at afraid.orgIn this case you don't need ISPConfig's DNS Manager at all. You need it only if you want to run your own DNS server.
timaaarrreee
17th April 2008, 11:58
so how come my subdomains wont work e.g www.tim.khost.co.nz
timaaarrreee
17th April 2008, 12:12
so how come my subdomains wont work e.g www.tim.khost.co.nz
should i get a static IP to save the stress:eek:
falko
17th April 2008, 21:56
There's no DNS record for that hostname:
server2:~# dig www.tim.khost.co.nz
; <<>> DiG 9.3.4 <<>> www.tim.khost.co.nz
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5064
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;www.tim.khost.co.nz. IN A
;; AUTHORITY SECTION:
khost.co.nz. 3600 IN SOA ns1.afraid.org. dnsadmin.afraid.org. 804170001 86400 7200 3600000 3600
;; Query time: 458 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Thu Apr 17 22:44:47 2008
;; MSG SIZE rcvd: 96
server2:~#Please create one.
timaaarrreee
18th April 2008, 04:29
Will this have to ba a type A record and how will this link to my users onces it goes to my ip address?
i have this subdomain working to my server but it just loads the default page of apache "It Works"
timaaarrreee
18th April 2008, 04:30
i have this subdomain working to my server but it just loads the default page of apache "It Works"
Just the same as www.khost.co.nz
falko
18th April 2008, 10:26
Will this have to ba a type A recordIt can be an A or CNAME record.
and how will this link to my users onces it goes to my ip address?
What do you mean with "link"?
timaaarrreee
19th April 2008, 02:49
when i create an A record off my domain it simply does to my homepage instead of the users page. Thats what i mean by linking to their site.
falko
20th April 2008, 00:59
What do you mean with "homepage" and "user's page"? Can you describe the problem in more detail?
timaaarrreee
20th April 2008, 10:14
when i add a subdomain in my freedns.afraid.org (as an 'A' record) service it goes to the shared IP page instead of going the the users virtual site. I cant see how it supose to know which site to go to.
HERE IS A DIAGRAM I MADE TO EXPLAIN:
http://www.geocities.com/timaaarrreee/site.png
falko
21st April 2008, 15:37
You must create a web site for that subdomain in ISPConfig, or add this subdomain as a Co-Domain to an existing web site.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.