Website doesn't appear unless www. is used? [closed] - dns

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
There is some sort of DNS error on my clients website that is hosted by HeartInternet. For some reason the site does not appear unless www. is specified explicitly.
Works: http://www.elmhaven-marina.co.uk
Doesn't Work: http://elmhaven-marina.co.uk
How can this error be fixed?

You need a "#" A record pointing to elmhaven-marina.co.uk in your DNS

The DNS record simply doesn't have an entry for "www." then. It needs a CNAME pointing "www." to "#", meaning, an alias for the raw domain.

Related

Pointing a domain to a different host? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I'm trying to point a domain name hosted at namesco to a different server, but the people who own the server have said not to change the nameservers as it will break the emails they have. They have said to point to a server name host.therename.com.
I have tried pointing the www CNAME to host.therename.com but it has not changed (48 hours ago), am I missing something?
You need to add an "A" record to your domain, and point that to the IP address of the server that you want to host the website on.
You can leave the CNAME on the "www" subdomain, so people typing in yourdomain.com and www.yourdomain.com will end up at your server.

Question on CNAME for different domains [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
The community reviewed whether to reopen this question 8 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Is it posssible for me to use CNAME for different domains like
www.domain2.com CNAME www.domain1.com
Both are server from same server but different Virtual host (root paths are different)
Yes, it is valid for a CNAME to point to an entirely different domain. This is often used in the context of using CNAME records to handle the TLD variants on your domain such as:
mydomain.com CNAME mydomain.net.
It is possible to do this at the DNS level, but that effectively means that both domains point to the same resource. If you have 2 different applications serving different content, than this is not the case.

Creating URL subdomains [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How are sites like bandcamp, blogger, etc creating these custom url with subdomains
example:
http://themidwestbreaking.bandcamp.com/
normally you have to add to your A-RECORDS in your DNS, but I am pretty sure they are not doing that.
Wild card dns. There is a subdomain set up as *. You have to set up your webserver to accept *.yourdomain.com, then you can extract the subdomain from the URL and process however you want.

Forward olddomain.com/$ to newdomain.com/$ [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I've switched domains but want to keep my old links forwarded.
So if someone goes to olddomain.com/lol they would be forwarded to newdomain.com/lol
Can I do this with A record? Whats the best method?
CNAME doesn't work across different domains. You have to use an A record and point it to the IP that hosts your new domain.
newdomain.com:
newdomain.com. A 1.2.3.4
olddomain.com:
; essentially the IP that newdomain.com is at
olddomain.com. A 1.2.3.4
Then you need to do something on the webserver hosting newdomain.com to also accept HTTP/1.1 connections for olddomain.com, you can use mod_rewrite or something similar.

CNAME for subdomains needed? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Hay, I'm having a little trouble.
I have the following domain over at easily.co.uk
www.foo.com
and i have that site hosted over at 1and1. This site is working fine.
I want to add a subdomain to this site, so i went into Plesk and added the followig subdomain
bar.foo.com
However, when i point my browser to that subdomain, it fails.
Do i need to setup a CNAME record for this subdomain?
You tell your DNS hosting company to do so. - You can also set up a wildcard record which will direct every possible subdomain to your IP.

Resources