Joanne Posted September 8, 2017 Posted September 8, 2017 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!
Steve21 Posted September 8, 2017 Posted September 8, 2017 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 1
FN-GM Posted September 8, 2017 Posted September 8, 2017 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. 1
Joanne Posted September 8, 2017 Author Posted September 8, 2017 OK I've added those. It's not working right away... I'm guessing it'll take a few minutes for the DNS stuff to refresh itself?
FN-GM Posted September 8, 2017 Posted September 8, 2017 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.
Steve21 Posted September 8, 2017 Posted September 8, 2017 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
Joanne Posted September 8, 2017 Author Posted September 8, 2017 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.
Joanne Posted September 11, 2017 Author Posted September 11, 2017 Just checked and it's all working nicely now
mavhc Posted September 21, 2017 Posted September 21, 2017 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now