How to give domain name to your server - web

I don't know how well i am asking this question but can someone tell me how do i give a domain name to my server . I mean right now i can just access it by an ip . But i want it to be accessed by a name. When we purchase a hosting plan we already are give a domain name . But how to have a domain name when you already have your own server?

1]Login into Control Panel of your Domain Registrar
2]There you will have facility to Register Name Server.(ns1.domainname = IP of your server and ns2.domainname = IP of your server). Ask your Domain registrar to have step by step guide about How to register name server? and perform accordingly.
3]Open DNS manager with your Server and make entry of your domain.
4]Global propagation will take 24-48 hours time, and your domain
will start pointing to your server.

Related

If you change your domain nameservers does that void all DNS/MX/A record you input in your domain registrar?

say you have a domain (mydomain.com) in registered to a registrar, say namecheap,
you have setup MX record to handle email sent to your domain
you had setup an A record to make a subdomain use a different webhost
Name: intranet.mydomain.com
Value: 108.xxx.xxx.xx
Type: A name
now, you want to host the primary domain to a webhost, so that when a user load mydomain.com to their browser it will use webhost to load the resources
Question, the webhost requires you to update domain nameserver to use
ns1.myhost.com
ns2.myhost.com
Will updating my nameserver to my domain registrar to use the nameservers above will void/not-implement the already existing A records?
If not, how do you solve the problem?
Thanks!
In somewhat laymen's terms:
You need to distinguish between 3 different (yet related) services:
Domain name registration - you pay for your domain name here. Except for the name itself, here you need to enter your Domain Name server names, which will point to where the next service is hosted:
DNS service - here is where you enter all your records (A, MX, ...) which point to your other services (web hosting, mail servers, etc..)
Service hosting provider (for example web hosting, or email service)
You can have different parties host these services for you, but it is not uncommon that one service provider can offer all these services. From your description, it looks like that at the moment your Name registrar (1) is also hosting your DNS service (2) (which is quite common). Now, your new web hosting provider wants to host your DNS service, and is requiring that at your name registrar, you enter its name server names (which is also not uncommon). And you are right, if you do that, any DNS records that you entered at your current DNS provider will be void (they will remain there, but no end user will ever see them since (1) will point them to use your new hosting provider's name service to resolve your domain records).
You have two options:
Do not comply with your webhost's request, instead ask them what DNS records (probably A or CNAME) you need to add at your current DNS service provider in order that your new website becomes reachable.
Comply with your webhost's request, but then you will have to go to your new provider's name service console and again add all the records that you already have entered at your previous DNS provider.
I would choose option 1, as less risky

Domain issues on WHM

OK so I'm trying add a clients account to my whm and for some reason it won't point to my nameservers. I've already just had them buy a hosting plan with hostgator but for future clients I would like to have this problem solved. shouldn't I be able to change their NS to my nameservers?
There is an option of adding child name servers in domain control panel.
First you need to add your server's primary name server as a child name servers to the client's domain control panel and provide the IP address of your primary name servers. Now try adding your name servers as a client's name servers. This will fix the issue.
Example
You have a domain abc.com for which you have configured nameservers ns1.abc.com and ns2.abc.com.
STEP 1
Login to clients domain panel and add child name servers to ns1.abc.com and ns2.abc.com and point the IP Address of server where ns1.abc.com and ns2.abc.com are resolving and save it.
STEP 2
Now go to the name servers section and change value of client's name server as ns1.abc.com and ns2.abc.com. You will see this time you will be able to add the name-servers without any issue.

How to make DNS accessible to public

So I configured an authoritative name server after reading pages after pages of text regarding the standards of the server and its security. Question is how do I make my server accessible to the public such that they don't need to add my name server to their network configuration in order to access domains registered to that name server? I already have a domain name registered for that name server through a third party domain name provider.
Your registrar will have a way to make your DNS server authoritative for your domain. Look in their control panel for DNS options. When you register your domain they will set the DNS servers to their own, which you can change later. When you set your DNS servers it will take a bit for it to update, so if it doesn't happen right away just wait an hour or so. You should also flush and register DNS on the machine you are trying to access the site from.
FYI - you got down voted because stackoverflow is for programming and not server config questions.

why my name server can not point to the right ip address?

I'm totally new about hosting website and I register a domain in network solution and hosted by hostgator. I tried to register my name server by going to Domain name server option in network solution and enter my name sever's name.However,by going to leafdns.com, I found out that the name servers don't pointing to the right ip addresses as provided by hostgator welcome email. Besides, network solution does not prompt you for a ip input for those name servers, and the domain still point to a construction page.
What would be the problem?
It's not enaught to set up Name Servers for domain, you need add records in it. If you setup hostgator hosting NameServers for your domain, just park your domain on hosting panel and NS records add apear automatically.

how to point a domain name to free webhost server using dns

I am using free webhosting server. and i purchased a domain name. now how to point a domain name to free webhost?.
ex. my webserver address is abc.uco.im,
and my purchased domain name is xyz.com.
now how to point xyz.com to abc.uco.im using dns. please help, thank you.
The best place to resolve these questions is with your web host, and with the entity where you purchased the domain name. Specific instructions will vary according to those host services you choose.
You need to go in your File Zone DNS and add a A host that point to the ip of your web server.
It will be like :
Host : #
Point : abc.uco.im
use webforwarding option in your purchased domain console . Go webforwading just enter your free host domain url there. Hence any one trying your new domain will automatically forwaded to your free domain address.

Resources