pointing a domain name

I am hosting a site where the domain is registered externally.
The A record of the domain is pointing to www.mydomian.co.uk and my servers IP address.
on the server hosting the site IIS is set so that the domain mydomain.co.uk is created and has bindings for both www.mydomain.co.uk and mydomain.co.uk.
The issue is that the only domain that is showing is www.mydomain.co.uk the address without the www. is pointing to the default for the resgistrars.

What changes do I need to make to get the domain to point to both www.mydomain.co.uk and mydomain.co.uk
Simon CrippsOwnerAsked:
Who is Participating?
Daniel HelgenbergerConnect With a Mentor Commented:
In the DNS admin area of your Registrar /DNS service provider create an A record in the top most level of  mydomain.co.uk containing the IP of your webserver while leaving the name entry blank.

The recommanded way is to use a 301 redirect to www.mydomain.co.uk however. Most DNS service providers let you configure this as well.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.