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
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
-
Cleaning up a Spammy Domain VS Starting Fresh with a New Domain
Hi- Can you give me your opinion please... if you look at murrayroofing.com and see the high SPAM score- and the fact that our domain has been put on some spammy sites over the years- Is it better and faster to place higher in google SERP if we create a fresh new domain? My theory is we will spin our wheels trying to get unlisted from alot of those spammy linking sites. And that it would be faster to see results using a fresh new domain rather than trying to clean up the current spammy doamin. Thanks in advance - You guys have been awesome!!
Intermediate & Advanced SEO | | murraycustomhomescom0 -
How to 301 Redirect /page.php to /page, after a RewriteRule has already made /page.php accessible by /page (Getting errors)
A site has its URLs with php extensions, like this: example.com/page.php I used the following rewrite to remove the extension so that the page can now be accessed from example.com/page RewriteCond %{REQUEST_FILENAME}.php -f
Intermediate & Advanced SEO | | rcseo
RewriteRule ^(.*)$ $1.php [L] It works great. I can access it via the example.com/page URL. However, the problem is the page can still be accessed from example.com/page.php. Because I have external links going to the page, I want to 301 redirect example.com/page.php to example.com/page. I've tried this a couple of ways but I get redirect loops or 500 internal server errors. Is there a way to have both? Remove the extension and 301 the .php to no extension? By the way, if it matters, page.php is an actual file in the root directory (not created through another rewrite or URI routing). I'm hoping I can do this, and not just throw a example.com/page canonical tag on the page. Thanks!0 -
High Quality Domains and what to do with them
Hi, I rus a travel photography business. The primary function of the website is to sell prints, though I blog about my travels on the same domain name as well as a few pieces of content that are helpful to users interested in some of the places I travel to. I do okay with it, but obviously, I am always looking for a way to increase visibility and sales of prints. I own a couple of high quality keyword domain names, that I've been trying to figure out what to do with. One of which is for a city that my prints of my photography are probably best known for. The domains I'm really trying to decide what to do with are basically a www.citystatephotography.com and www.citystatephotos.com, where the city and state are the ones I'm targeting. The question is, what do I do with it? I've seen various ideas from other photographers that have various levels of success. Here are the options I'm considering: Just redirect it to the photo gallery of photos that I'm trying to rank highly for. From what I read on various blogs, this doesn't really do much of anything, but maybe I've read wrong? Create a website or microsite with some quality content related to the city that also links back to my photography website on various places and possibly once in the navigation. I do have quality content I could put up that would be helpful to people from the city besides just trying to get sales. But there's always a chance this will cannibalize my original domain without helping sales, I assume? Spam my photo galleries across two domains. Most of my photography galleries would stay on my main domain that I already run, but the photo galleries that are key to that city would be hosted on that citystatephotography.com domain name. I've seen a photographer from Colorado do quite well with this method. (www.imagesofrmnp.com and www.morninglight.us) He's heavily known for his images of Rocky Mountain National Park and that seems to be his main brand, but all of his non-RMNP travel photography goes on the other site. The two sites look almost identical, though they link back and forth fairly extensively. There doesn't seem to be much in the way of duplicate content either. I've considered this method, but I'm nervous I'll kill what I've already built up if this were to fail. Do nothing with the domains. Seems wasteful, as these domains, particularly the citystatephotography.com domain seems useful in some way. Any thoughts? Thanks in advance!
Intermediate & Advanced SEO | | shannmg10 -
Two websites vs. one for SEO
I recently met with a new potential client who currently has two websites for his business - one that is for the business as a whole and another that is specific to one of his particular services (his main service and what the overall business is known for). My first question was "why do you have two websites?" His response was that he has had a really hard time ranking well organically for his main service. He worked with an SEO company for two years and never was able to establish a solid organic presence for searches related to his main service - so he went ahead and had a site built to focus specifically on that service with the hope that it would help him rank organically for searches related to that service. The new site was built very recently (Dec. 2014) and it hasn't had a lot of optimization work put into it. The original site has a much higher Domain Authority, more incoming links, etc. My typical preference has always been to use one website and drive all traffic to that site, while building out specific content for any products/services on individual pages of the site. For some reason I'm torn as to what to do with this particular situation since his main concern is ranking for his core service, which hasn't happened with the original site. I'm concerned, though, that optimizing and managing two websites will be less effective than driving all of the traffic to one site, and that it could actually be detrimental overall. What are your thoughts? Suggestions? Feel free to let me know if you need any more details.
Intermediate & Advanced SEO | | garrettkite0 -
Age of a re-directed domain same as age of a static domain?
I know domain age plays a role in SEO--but, I am wondering if a domain is set up to 301 re-direct to another domain if it builds the same amount of authority over time as the static domain--just looking at age as a ranking factor, not links accumulated over time.
Intermediate & Advanced SEO | | nicole.healthline0 -
Domain authority enhancement
Dear all, what is the best way to increase your domain authority in a couple of weeks? Thanks for your reply! Best regards, Ben
Intermediate & Advanced SEO | | HMK-NL0 -
Merging several domains into one, a redirection question
Hi, We have a client who recently acquired a bunch of domains in all kinds of niches, each domain has a WordPress site on it, with content and backlinks. Clients wants to "merge" all these domains into categories in his "main website", moving content and "moving" backlinks as well. The syntax we came up with is the following: (sample domains of course)
Intermediate & Advanced SEO | | MandLoys
potatomixers.com will be updated with .htaccess 301 redirect:
Redirect 301 /fastpotatomixer.htm http://www.mainwebsite.com/home-appliances/fastpotatomixer 1.) I'm not sure about the domain's root though. Where would I redirect potatomixers.com, to mainwebsite.com/home-appliances? Won't that be a problem that the new one is a "larger" category that has other posts as well, not only potatomixers? 2.) If this gets into the .htaccess (with several other lines for the other content as well of course), won't the first line "override" all the other ones? Redirect 301 / http://www.mainwebsite.com/home-appliances/
Redirect 301 /fastpotatomixer.htm http://www.mainwebsite.com/home-appliances/fastpotatomixer
Redirect 301 /easypotatomixer.htm http://www.mainwebsite.com/home-appliances/easypotatomixer etc. Thanks!0 -
Non www has 110 links the www has 5 - rankings have gone
A site I'm working on resolves on the non www address and has 100+ links pointing at this address, last month it started to rank and had various phases within the top 50, this month it's totally gone from the search results. The www has 5 links. My questions Which is best? Www or non How do you fix it? Any reason why the rankings have disappeared!? It's a word press site domainname.co.uk = 100+ links www.domainname.co.uk = 5 links
Intermediate & Advanced SEO | | therealmarkhall0