Set Up Domain - Dedicated Server
Hello,
I would like to know how to set up a domain name on my dedicated server. My domain hoster is the same as my dedicated hoster (OVH). My domain name does not answer to ping request from my PC, but it does from the server itself (and also from other servers), when I do a ping from a server hosted in OVH, it sends back my server IP, but from my personal computer, it does not answer. So I suppose I did the OVH side correctly and now I need to allow my dedicated to get this domain, how can I do that ? Thanks for your help. |
what doesn't answer about it? does the name resolve to an IP address? Have you fully registered the name in a public DNS service?
|
Quote:
Yes, I think I registred it perfectly, here it is: Ping from my server hosted from OVH: Code:
$ ping myDomain Code:
$ ping myDomain I think it comes from the server that needs to be configured, no ? |
that is telling you the DNS is not being provided to anything other then the server. what is your DNS provider? do you have a local DNS server? if not you will need to set one up for local DNS. is this a public URL that is up and running as well as being broadcast to at least 2 public DNS servers?
|
Quote:
Primary: nsxxxxxx.ovh.net Secondary: sdns2.ovh.net Thanks for your help. |
Quote:
note i said EXTERNAL IP as that is what will be registered. so if your firewall blocks external pings well then there ya go. again if you are running systems by fully qualified domain names internally you should be running an internal DNS server with that information. this is in combination with your local DHCP server as well and your DHCP server should be getting 100% of its DNS information from your INTERNAL DNS server, not from an EXTERNAL or Public DNS server like you are now. |
your name needs to be registered with a public DNS service. I presume OVH will do this for you is you refer you your control panel type thing I presume they provide you. If you can't see that, get in touch with them and they'll be able to fill you in on it i expect
|
let me see if i can clear this up a little more.
1. you are using external DNS servers (from your ISP i am guessing) 2. you are unable to ping your local internal server via FQDN. (fully qualified domain name) is that correct? |
Yes, bu the strange thing is I can access the domain from local, it leads me to the right place.
So I suppose it's correclty set, I just need to bind it, no ? But how ? |
is this your ISP?
Code:
Domain name: ---------- Post added 08-13-13 at 09:15 AM ---------- Quote:
|
No, this isn't my ISP.
My ISP is ovh.net. The problem is I can only connect to my domain through the local area only. And I was wondering how to put it public. |
But I hard that I had to install my own DNS servers ?
I've set the DNS the ISP gave me. |
ok so you are only able to ping your server internally and not externally. can you ping the server internally from ALL workstations?
in that case you need to contact them to get your URL registered, then you need to configure your firewall to do port forwarding of port 80 for web pages as an example to your internal IP of your server. note when people ping your URL they will be pinging your external IP not your LAN side private IP. it is also a good idea to put your web server on a different LAN subnet and keep it separate from the rest of your LAN for security. |
Quote:
Quote:
127.2.2.1 is your local loop IP address. You need to find a way to tell the world-wide DNS system which public IP address your domain and your server are assigned to. I don't know OVH.net, but usually hosting companies provide some kind of interface to set up the DNS settings for the assiciated domains. This works usually only in the case, that you registered your domain with your hosting company housing your server. if you have your domain somewhere else you need to use the domain registrar's DNS interface. As son as you have done this, every PC in the world having an internet connection should be able to resolve your domain's ip address and connect to your server. |
All times are GMT -5. The time now is 03:28 PM. |