Trying to link a domain to a IP - dns

I have registered mydomain.com now i want to redirect to my IP hosting account.
The DNS editor shows two fields: Name and Address.
In Address i wrote the IP i want the domain redirects.
And in Name I wrote mydomain.com.
After submitting the form, the page shows this line:
Name Type Record
mydomain.mydomain.com. A 173.203.58.251
I expected it shows this:
Name Type Record
mydomain.com. A 173.203.58.251
Is that OK? or am i doing some wrong?
Regards
Javi

You've registered a domain which actually gives you a control on a full zone.
You have full control over the zone mydomain.com, including all it's subdomains.
You actually gave the subdomain mydomain.mydomain.com the IP 173.203.58.251.
You should give the empty subdomain the IP you want so mydomain.com will get it.
It depends on your DNS Editor, but should probably be one of the following (without the quotes):
"#" (the at sign)
"" (write nothing)
"." (one dot)
"mydomain.com." (including the last dot)

Are you trying to set the nameservers of the Domain? So that way mydomain.com shows the content from 173.203.58.251?
If so, you are in the wrong control panel. You need to do it in the control panel of the website you bought the domain from.

Related

How do I set up the CNAME record to use my freenom domain name with Google sites?

I have the TXT record set up properly for my Google verification ie, Name=www ttl=3600 target=google-site-verification=sadlfadsasdadsfad This seems to have satisfied Google and has approved the domain name.
These are the instructions that Google gives to create the necessary CNAME to point the domain name to the actual site being hosted by sites.google.com
Go to your domain host.
Create a new CNAME entry.
Enter the subdomain name, for example, the "www" of www.example.com.
Type in the host name ghs.googlehosted.com. This will point your URL
to your Google site.
I have tried:
name = www
ttl = 3600
target = ghs.googlehosted.com
to no avail it doesn't work, however the freenom.com host seems to think it's OK and Google accepts that my domain is correct.
It doesn't work. What am I doing wrong? I've done many searches for an exact example of how it is done, but, I cannot find anything.
Check that you are typing ghs.googlehosted.com into the CNAME destination without any surrounding spaces.

How to create a subdomain at freenom.com?

I created a domain at freenom.com
https://imgur.com/a/ClaXVLX
which points to my app at Digital ocean droplet.
and next day I created this domain I tested and it works.
that domain is 1) at printscreen above.
Now I want to create several subdomains, as I know that is possible to make:
site.com - domain
dev1.site.com, dev2.site.com - subdomains
But I do not know what must be entered in fields 2) and 3) ?
When I tried as at printscreen above I got error :
Error occured: Invalid value in dnsrecord
Which are valid values ?
Thanks!
A domain name (for use as websites etc.) should point at an IP address. There are several kinds of DNS records. Records for pointing at IP addresses are A records, as you have in 1). Other kinds are MX records for mail servers, for example.
If you want to create a subdomain, you want to create another A record, so simply choose A for the "type" field.
Alternatively, if the IP is the same as an existing record, use a CNAME record which points to another record, e.g.
Name Type TTL Target
dev1.site.com CNAME 14440 site.com
This says that dev1.site.com should use the same record(s) as site.com, so if you ever update the A record of site.com, it will automatically apply to all subdomains too.
I found the way to
add two A record
A www.dev2 IP (same ip of your original website)
A dev2 IP (same ip of your original website)
Setup 2 subdomains on the Freenom DNS:
The CNAME record type does not accept a IP number.
For the subdomains, use a CNAME, but make the target the # sign, which represents the root domain.
To be clear, this will make both subdomains point to the IP address of the A record you specified for the root domain.
If you want the subdomains to point to a different IP, then use an A record instead of a CNAME record.

hostless DNS CNAME record

We are running BIND 9.9.7 on Centos 6.5 and for a long time I have been creating "hostless" DNS entries so that sites work with or without the www.
Eg:
www IN A 192.168.1.1
domain.com. IN A 192.168.1.1
However, our client wants to use a CNAME record to a cloudfront host and the "hostless" entry doesn't work as a CNAME record.
In fact, it more than doesn't work, BIND won't even load the zone file. The error is
"failed: CNAME and other data"
domain.com. IN CNAME host.cloudfront.net.
www IN CNAME host.cloudfront.net.
It will load and resolve fine without the domain.com entry. I have tried a few variations, but nothing seems to work. including "", "."
Can anyone tell me the correct syntax for this entry?
There is no correct syntax for this (and it is not BIND specific, it is a side effect of RFC1912 which states that A CNAME record is not allowed to coexist with any other data.
Detailed explanation: Why can't a CNAME record be used at the apex (aka root) of a domain?
Some DNS providers might offer workaround hacks.

How will a CNAME DNS affect Google Engine

I'm hosting a clients site at client.mysite.com, but my client want to have its own domain, like www.clientsite.com.
With a CNAME configuration, I'll be able to hook my client domain to the content, but... considering I'm still hosting my clients content, which domain will be finally listed on Google with contents of client.mysite.com contents?
a) mysite.com
b) clientsite.com
Thanks for helping.
In the DNS hierarchy, the CNAME resource record will be attached to the clientside.com. A CNAME is simply a reference to the location of that site's A record. With that in mind, I believe mysite.com will be listed as hosting the data.
Does your client want it to appear under his name?
If so, then this should not be solved using DNS (well, not only using DNS).
If your client wants to get the content listed under his domain name, the best way to do this, is to add their name to your server.
Then point client domain name to your server.
The best way to do the pointing (when also considering SEO)
is to make an webforward (301 permanent) from the root, to the www
and make the www subdomain point to the ressource.
(Or vice verca)
IF you are using the example above (webforward on root) you can use a cname instead of an A record to point the domain name. However do not add a cname to the root of a domain (effectively shutting down your domain name).
So-
Short Answer:
client.mysite.com will have the content (also according to google).
Any attempt to obfuscate this is black hat or grey hat ;)
a better way of doing it is to simply setup the clients domain name on your server.
Then point only one hostname to the server. Server host/headers will take care of the rest.
Setup in DNS
# webforward 301 www
www a or Cname to server
Quick rules:
NEVER put Cname on the root of a domain
Only allow 1 hostname to show content (can be done both as explained above via DNS/webforward or via server configurations)

Custom domain in Tumblr

I setup this domain's A-record to point to this tumblr:
emmaraviv.com :: timeoftstretched.tumblr.com
Which works fine, but www.emmaraviv.com does not.
In tumblr, I have the "custom domain" set to "emmaraviv.com". I don't see a way to specify multiples. i.e. "emmaraviv.com", "www.emmaraviv.com".
I added another A-record for www., point to the same IP (the one Tumblr tells you to use). But when you try to go to this records address specifically (www.emmaraviv.com.ryan-orourke.com -- it's under my primary domain on my host) it resolves to Tumblr, but not her site. Which makes me think the issue is with Tumblr not recognizeing this domain as one that should be pointing at timeoftstretched.tumblr.com.
Would love some ideas?
Thanks!!
On mine I did the following and it worked, on the DNS just setup:
# A 66.6.44.4
www A 66.6.44.4
Then both domain.com and www.domain.com both go to tumblr, in your Customize area just put www.domain.com as your domain, hopefully this should work.

Resources