Two A Records or one CNAME and one A Record for www / naked domain?
-
What's the best way to point a domain to an IP address?
Two A records one with host @ and the other with host www ?
One A record pointing to the naked domain
One CNAME record with host www pointing to nakeddomain.comSomething else?
Thanks so much! This seems so basic, but always seems to stump me.
I'm using WordPress, if it makes difference.
-
Hello?
-
Thanks Mike. I'm not sure if I totally understand though. I usually buy my domains from NameCheap and host elsewhere. So, for a domain "BaltimoreJewishScouts.com" It sounds like you're saying theoretically would be to have an a record that looks like this:
A Record : Host: @ Value: www.BaltimoreJewishScouts.com
But, i am pretty certain I would need another A Record to point the domain to the IP address.
Am I misunderstanding you?
All the best,
Adam -
Hi Adam,
It's best to consult with your web host on this one to ensure you're working within whatever restraints/quirks their system includes, but generally speaking, a single type A name record with the host @ specifying the domain including www subdomain should take care of it.
But again, you're probably best off following instructions from your web hosting provider and/or consulting their tech support team.
Happy Holidays,
Mike
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Domain name change
Here's the scenario... Client has two domain names: domain.com - targeting one country (Australia) otherdomain.com - targeting all other countries Both have identical products, but different currencies (AU$ and US$). The problem (as most of you will know) is that without using a sub-domain or country-code top-level domains, Google has no idea which domain should be served for which domain. Furthermore, because the root domain is different, Google doesn't see any connection between the two - other than the fact they have identical products! My recommendation to the client is to change to: domain.com to domain.com.au otherdomain.com to domain.com Arguably, we could leave the second one alone. But I think it's better for the brand to use the same root domain for each. Obviously this means both will need to be redirected. Since NONE of the pages within the sites will change, do we need to redirect every page, or just the root domain? Any other risks or concerns we should know about?
Intermediate & Advanced SEO | | muzzmoz0 -
Domain Name
Hello everyone Please advice what to do in a situation when searching for a domain: www.domain.com google is recommending domain.org ? when these are completely 2 different sites? Does it has to do with trust rank? Please advice.
Intermediate & Advanced SEO | | FusionMediaLimited0 -
Content From One Domain Mysteriously Indexing Under a Different Domain's URL
I've pulled out all the stops and so far this seems like a very technical issue with either Googlebot or our servers. I highly encourage and appreciate responses from those with knowledge of technical SEO/website problems. First some background info: Three websites, http://www.americanmuscle.com, m.americanmuscle.com and http://www.extremeterrain.com as well as all of their sub-domains could potentially be involved. AmericanMuscle sells Mustang parts, Extremeterrain is Jeep-only. Sometime recently, Google has been crawling our americanmuscle.com pages and serving them in the SERPs under an extremeterrain sub-domain, services.extremeterrain.com. You can see for yourself below. Total # of services.extremeterrain.com pages in Google's index: http://screencast.com/t/Dvqhk1TqBtoK When you click the cached version of there supposed pages, you see an americanmuscle page (some desktop, some mobile, none of which exist on extremeterrain.com😞 http://screencast.com/t/FkUgz8NGfFe All of these links give you a 404 when clicked... Many of these pages I've checked have cached multiple times while still being a 404 link--googlebot apparently has re-crawled many times so this is not a one-time fluke. The services. sub-domain serves both AM and XT and lives on the same server as our m.americanmuscle website, but answer to different ports. services.extremeterrain is never used to feed AM data, so why Google is associating the two is a mystery to me. the mobile americanmuscle website is set to only respond on a different port than services. and only responds to AM mobile sub-domains, not googlebot or any other user-agent. Any ideas? As one could imagine this is not an ideal scenario for either website.
Intermediate & Advanced SEO | | andrewv0 -
Product with two common names: A separate page for each name, or both on one page?
This is a real-life problem on my ecommerce store for the drying rack we manufacture: Some people call it a Clothes Drying Rack, while others call it a Laundry Drying Rack, but it's really the same thing. Search volume is higher for the clothes version, so give it the most attention. I currently have 2 separate pages with the On-Page optimization focused on each name (URL, Title, h1, img alts, etc) Here the two drying rack pages: clothes focused page and laundry focused page But the ranking of both pages is terrible. The fairly generic homepage shows up instead of the individual pages in Google searches for the clothes drying rack and for laundry drying rack. But I can get the individual page to appear in a long-tail search like this: round wooden clothes drying rack So my thought is maybe I should just combine both of these pages into one page that will hopefully be more powerful. We would have to set up the On-Page optimization to cover both "clothes & laundry drying rack" but that seems possible. Please share your thoughts. Is this a good idea or a bad idea? Is there another solution? Thanks for your help! Greg
Intermediate & Advanced SEO | | GregB1230 -
Transfer webshop to other domain. Will there be a huge visit/sales drop?
A client of main has a specific domain for their webshop, separately from the brand the domain. The brand domain has much more authority (according to SEOMoz), so the conclusion in an other topic was that it would be better to move the entire webshop to the same domain as the branddomain. Like moving www.webshopdomain.com to www.branddomain.com/webshop Of course all categories and important pages will have a 301 to give through the build up authority. Does anybody have experience with this? I believe in the end this will be much better because all authority will be build up at the same domain.
Intermediate & Advanced SEO | | Seeders
But I am afraid of a drop in the beginning. If there will be a sales drop, I really must give my client notice of this... I hope somebody has done this before..0 -
What is the best: one big site or several small ones?
Sometimes I've felt that my choice was incorrect. I know taht with a big amount of content on the same subject a bigger one is better: it’s easier to maintain, and a big number of pages is good for Google ranking, but when you have many small sites, each one focusing on a totally different subject, you can crosslink them and this will improve your rankings. Furthermore, many small sites allow you to focus in specific niches and help you rank better for different keywords. So, what is the best choice?
Intermediate & Advanced SEO | | sergio_redondo0 -
Domain with a Virus History
Hi, I have a domain that I am working on that has a past we did not know about. Doing a bit of research it appears that back in 2010 the domain had a link to a virus or had a virus on the domain – because of this certain anti virus sites are blocking the domain. Interestingly Google, Norton, Firefox say the domain is fine.... IE, Kaspersky and a few still block it. I am going through and manually searching and trying to get them to agree the site is safe BUT I am having a problem with mywot.com. They refuse to take down the “reviews” staying its a virus site. Anything I can do? Any suggestions? Any legal action we can take? Is there anything else I can do or should be doing to check else where? Thanks in advance Fresh Fire One
Intermediate & Advanced SEO | | JohnW-UK0 -
Reciprocal Links and nofollow/noindex/robots.txt
Hypothetical Situations: You get a guest post on another blog and it offers a great link back to your website. You want to tell your readers about it, but linking the post will turn that link into a reciprocal link instead of a one way link, which presumably has more value. Should you nofollow your link to the guest post? My intuition here, and the answer that I expect, is that if it's good for users, the link belongs there, and as such there is no trouble with linking to the post. Is this the right way to think about it? Would grey hats agree? You're working for a small local business and you want to explore some reciprocal link opportunities with other companies in your niche using a "links" page you created on your domain. You decide to get sneaky and either noindex your links page, block the links page with robots.txt, or nofollow the links on the page. What is the best practice? My intuition here, and the answer that I expect, is that this would be a sneaky practice, and could lead to bad blood with the people you're exchanging links with. Would these tactics even be effective in turning a reciprocal link into a one-way link if you could overlook the potential immorality of the practice? Would grey hats agree?
Intermediate & Advanced SEO | | AnthonyMangia0