Jump to content

Recommended Posts

Posted

OK so my school has a new website. If I go to schoolname.co.uk I get the website, but if I put schoolname.co.uk I get the reg 123 page.

 

I have 2 DNS entries. www type A with the IP address of our site provider and a www CNAME record with the provers address.

 

What do I need to add to get the website to appear without the www infront?

 

Thanks!

Posted

You should be able to just have a standard "name" A record too without the WWW part (Obviously your webserver would need to be configured to understand what it's pointing to though)

 

MYschool.co.uk. 86400 IN A MYIP.100.100

http://www.MYschool.co.uk. 86400 IN A MYIP.100.100

 

As an example

 

Steve

  • Thanks 1
Posted
You should be able to just have a standard "name" A record too without the WWW part (Obviously your webserver would need to be configured to understand what it's pointing to though)

 

MYschool.co.uk. 86400 IN A MYIP.100.100

http://www.MYschool.co.uk. 86400 IN A MYIP.100.100

 

As an example

 

Steve

 

This is correct, with 123-reg you put @ in the same place the WWW is in the other record.

  • Thanks 1
Posted

It can take hours! Its a real pain.

 

There might be a little work needed on the web server as well, but most hosting companies do this automatically.

Posted

If you want to test the internal bit you can always add in the DNS locally to your server, and test it to ensure the website accepts non-WWW'd addresses etc :)

 

Steve

Posted
I've asked a local to me tech and he says that the website works for www and not www, so hopefully that's good now. It still doesn't work for me on the not www though... probably to do with cookies or whatever.
  • 2 weeks later...
Posted
Best to set the www version to redirect to the non www version, so you don't get duplication and weird cookie effects. Also redirect to https while you're at it

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...