Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a domain registered at 123-reg. The domain is mahsc-ctu.co.uk

Here's my problem. When I type http://mahsc-ctu.co.uk I get the holding page provided by my hosting company, but when I type http://www.mahsc-ctu.co.uk I get the holding page provided by 123-reg.

Why is this happening and how do I go about fixing it?

Here are my DNS records:-

enter image description here

Where do I go from here? Wierd thing is, the destination/target is set to the 123-reg host, not my site... Is this because I've been trying things and it's taking a while to propagate?

share|improve this question

closed as off topic by Michael Hampton, Dave M, mdpc, Khaled, RolandoMySQLDBA Mar 8 '13 at 1:48

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 0 down vote accepted

You may find that during testing of this, web caching may result in you seeing the wrong page. Your browser/OS probably has a local cache, which you can usually bypass by pressing CTRL+F5 to refresh the page. It isn't that likely that a cache outside you control (e.g. your place of work, or your ISP) has cached content for the URL, but not impossible.

You can also fall foul of DNS cacheing. You can clear your local DNS cache in Windows by typing ipconfig /flushdns and then see whether re-loading the page results in the content you expect. Again, there may be DNS cache in between you and the nameservers for this domain, and they can cause problems too based on the TTL for the record.

Finally, it can take some time for DNS changes to be reflected globally (up to 48 hours) so there is a chance that you won't see the results of your change for some time.

From what I can see your settings are correct, so probably you just need to wait a while - generally it is a lot less than 48 hours.

share|improve this answer

This is because you have two different A records for each domain, for instance you have:

  • One A record for mahsc-ctu.co.uk pointing to your hosting IP address
  • One A record for www.mahsc-ctu.co.uk pointing to your 123-reg provider

You may want to delete the www.mahsc-ctu.co.uk record and either create an CNAME alias pointing to mahsc-ctu.co.uk or create an *.mahsc-ctu.co.uk pointing to your hosting IP address

Update:

The easier way to solve it is to create an CNAME record www.mahsc-ctu.co.uk -> mahsc-ctu.co.uk, your problem comes for the lack of the www.mahsc-ctu.co.uk record.

share|improve this answer
    
I've updated my question as I'm getting really confused.. –  Mat Richardson Mar 6 '13 at 22:30
    
What would I enter for the DNS ENTRY, TYPE, and DESTINATION/TARGET bits then? –  Mat Richardson Mar 6 '13 at 22:36
    
www.mahsc-ctu.co.uk is a subdomain on mahsc-ctu.co.uk - so they are the same domain. –  dunxd Mar 7 '13 at 13:50

You should have a DNS entry for *.mahsc-ctu.co.uk which would point www.mahsc-ctu.co.uk at your web hosts. It sounds like currently you have only a DNS pointer record for mahsc-ctu.co.uk.

Try adding an A record for * that points to your server IP address.

Update:

The easier way to solve it is to create an CNAME record www.mahsc-ctu.co.uk -> mahsc-ctu.co.uk, your problem comes for the lack of the www.mahsc-ctu.co.uk record.

share|improve this answer
    
I've updated my question as I'm getting very confused. –  Mat Richardson Mar 6 '13 at 22:32
    
Is the IP address 81.21.76.62 your server or 123-reg? –  dannymcc Mar 6 '13 at 22:56

Not the answer you're looking for? Browse other questions tagged or ask your own question.