
10th May 2010, 19:16
|
|
Junior Member
|
|
Join Date: May 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
subdomain vs Top domain
Bonjour,
I try to set a subdomain as a site, but this subdomain only points at the top domain.
On my domain dns settings (registrar : ovh) the subdomain is create and set on the server IP
On the top domain:
- Adress IP = *
- domain = anares.eu
- Auto sub-domain = none
On the top domain:
- Adress IP = *
- domain = test.anares.eu
- Auto sub-domain = none
What wrong ?
|

11th May 2010, 00:11
|
|
Senior Member
|
|
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
|
|
I'm not sure you're going about using a subdomain the right way, i think....
Use DNS setting to point to your server
Use the Sites tab, Subdomain for website, Add new subdomain to make the subdomain.
|

11th May 2010, 07:59
|
|
Senior Member
|
|
Join Date: Mar 2010
Location: Surrey, England
Posts: 140
Thanks: 9
Thanked 28 Times in 17 Posts
|
|
From my understanding of the OPs post, there is a misunderstanding over what the subdomain should achieve.
What actually happens is that creating a subdomain merely points the subdomain at the main site.
What the OP wants is to have a subdomain have its own webspace.
In that case anares should use "Add new website" instead of "Add new subdomain" and set the domain name to subdomain.domain.com
|
|
The Following User Says Thank You to mike_p For This Useful Post:
|
|

11th May 2010, 10:29
|
|
Senior Member
|
|
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
|
|
Then I may need a little clarification. Do I not achieve the same result when adding a new site to set 'auto subdomain' to * ?
Maybe it's used to send to a completely different site but appear to be a subdomain of the original
|

11th May 2010, 10:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Mikep explained it in #3. If a subdomain shall point to a existing site, use the subdomain function. If the subdomain shall have its own webspace, create a new website for it instead.
The auto subdomain is just a automatically created alias. It works the same as when you create a subdomain manually. See the vhost files for details.
|
|
The Following User Says Thank You to till For This Useful Post:
|
|

11th May 2010, 16:10
|
|
Junior Member
|
|
Join Date: May 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by mike_p
In that case anares should use "Add new website" instead of "Add new subdomain" and set the domain name to subdomain.domain.com
|
That's exactly what I have done, my problem is the subdomain only goes to the top domain. In can't have an http access on subdomain.domain.com, but only on domain.com.
|

11th May 2010, 20:29
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Remove the subdomain and add a new website for it instead.
|

11th May 2010, 22:02
|
|
Senior Member
|
|
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
|
|
I'm still not sure I have this sorted then.
My test domain:
wooodsidekennels.com works fine
I go to add subdomain:
host: testing
redirect: R
redirect path: http://www.anotherdomain.com
but the domain doesn't resolve.
Have I missed something?
|

11th May 2010, 22:03
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
|
|
Have you added a dns A-record for testing.wooodsidekennels.com in the DNS Server of the domain wooodsidekennels.com that points to the IP address of the website?
|

11th May 2010, 22:35
|
|
Senior Member
|
|
Join Date: Dec 2009
Posts: 464
Thanks: 76
Thanked 35 Times in 29 Posts
|
|
I hadn't, but now I have.
I added a cname record
host: testing
Target hostname: wooodsidekennels.com.
when i used the dig command, i get the following:
Code:
dig testing.wooodsidekennels.com
; <<>> DiG 9.5.1-P3 <<>> testing.wooodsidekennels.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64567
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;testing.wooodsidekennels.com. IN A
;; ANSWER SECTION:
testing.wooodsidekennels.com. 43200 IN CNAME wooodsidekennels.com.
wooodsidekennels.com. 43200 IN A 93.97.**.*
;; Query time: 310 msec
;; SERVER: 145.253.2.75#53(145.253.2.75)
;; WHEN: Tue May 11 21:28:51 2010
;; MSG SIZE rcvd: 76
Sorry for hijacking the thread, but I think i'm encountering the same questions as the OP I hope! I'll put this into a guide as usual when I have it sussed.
Last edited by Toucan; 11th May 2010 at 22:36.
Reason: edit IP
|
| 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 03:00.
|
|
Recent comments
1 day 3 hours ago
1 day 3 hours ago
1 day 8 hours ago
1 day 14 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 21 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 9 hours ago