PDA

View Full Version : newby - new site


niber
20th August 2009, 10:21
Hi,

ispconfig3 on ubuntu 9.04 (hostnane : myServer.ovh.net, eth0 : 1.2.3.4)

I created a new site but when I go to www.mysite.com, I get the default page
"It work!" (which is /var/www/index.html)

I then created a dns zone like this

server : myServer.ovh.net.
client : myclient
domain : mysite.com.
NS : dnsX.ovh.net.
mail : webmaster@mysite.com

With one record
type A
name www
address 1.2.3.4 (which is myserver eth0 address)

At ovh (my provider and dns server) I changed www.mysite.com CNAME to myServer.ovh.net. and .mysite.com A to 1.2.3.4

Can you help me ? ( to get www.mysite.com display /var/www/mysite.com/web/index.html )

till
21st August 2009, 13:36
Make sure that www.mysite.com is a DNS A-Record that points to the IP address of your server. If this dont help, then select the IP address instead of * for the site.

niber
21st August 2009, 14:58
I changed mysite.com to A 1.2.3.4 and it works

Now, I delete www.mysite.com which was
CNAME -> myserver.ovh.net
and create
www.mysite.com A -> 1.2.3.4

I will tell you if it works

Thanks for your help

niber
24th August 2009, 11:01
unfortunately, www.mysite.com still points on /var/www/index.html

Any other advice ?

till
24th August 2009, 11:09
You sid above that it worked, so use the settings that work!

niber
24th August 2009, 12:25
mysite.com works but www.mysite.com still does not.
(and the dns setting at my provider's is the same)

till
24th August 2009, 12:33
And you are sure that you enabled auto www subdomain in the site settings and that you create a dns a-record for www.mysite.com too?

niber
24th August 2009, 14:26
I created www auto subdomain and now it works fine.

Thanks a lot for your help !