LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2013, 07:12 AM   #1
Ra'Jiska
Member
 
Registered: Apr 2013
Posts: 47

Rep: Reputation: Disabled
Post 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.
 
Old 08-13-2013, 07:30 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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?

Last edited by acid_kewpie; 08-13-2013 at 07:35 AM.
 
Old 08-13-2013, 07:57 AM   #3
Ra'Jiska
Member
 
Registered: Apr 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
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?
The ping request does not answer from my PC.
Yes, I think I registred it perfectly, here it is:

Ping from my server hosted from OVH:
Code:
$ ping myDomain
PING $myDomain (127.0.0.1) 56(84) bytes of data.
64 bytes from pf-official.eu (127.0.0.1): icmp_req=1 ttl=64 time=0.038 ms
Ping from another OVH Server:

Code:
$ ping myDomain
ping: unknown host $myDomain
And the ping from my PC does not work either.
I think it comes from the server that needs to be configured, no ?
 
Old 08-13-2013, 08:13 AM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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?
 
Old 08-13-2013, 08:22 AM   #5
Ra'Jiska
Member
 
Registered: Apr 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
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?
Yes, my DNS Provider is OVH. I don't know for local DNS, but my DNS Servers are:

Primary: nsxxxxxx.ovh.net
Secondary: sdns2.ovh.net

Thanks for your help.
 
Old 08-13-2013, 09:10 AM   #6
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
Quote:
Originally Posted by Ra'Jiska View Post
Yes, my DNS Provider is OVH. I don't know for local DNS, but my DNS Servers are:

Primary: nsxxxxxx.ovh.net
Secondary: sdns2.ovh.net

Thanks for your help.
ok, and have your published your URL to 2 distinct PUBLIC DNS servers? you need an A and a B at the very least. then it will take anywhere from 5min - 48 hr to fully populate around the world before you can use outside DNS servers to locate your external IP.

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.
 
Old 08-13-2013, 09:11 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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
 
Old 08-13-2013, 09:11 AM   #8
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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?
 
Old 08-13-2013, 09:12 AM   #9
Ra'Jiska
Member
 
Registered: Apr 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 08-13-2013, 09:14 AM   #10
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
is this your ISP?

Code:
    Domain name:
        ovh.co.uk

    Registrant:
        OVH Limited

    Registrant type:
        UK Limited Company, (Company number: 5519821)

    Registrant's address:
        C/O CHAMBRE DE COMMERCE FRANCAISE DE GRANDE BRETAGNE
        LINCOLN HOUSE 300 HIGH HOLBORN
        London
        WC1V 7JH
        United Kingdom

    Registrar:
        OVH [Tag = OVH-FR]
        URL: http://www.ovh.com

    Relevant dates:
        Registered on: 09-Sep-1999
        Expiry date:  09-Sep-2015
        Last updated:  11-Mar-2013

    Registration status:
        Registered until expiry date.

    Name servers:
        dns.ovh.net
        dns10.ovh.net
        ns.ovh.net
        ns10.ovh.net


---------- Post added 08-13-13 at 09:15 AM ----------

Quote:
Originally Posted by Ra'Jiska View Post
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 ?
you need to be much more clear. yes to what, no to what, how to what?
 
Old 08-13-2013, 09:37 AM   #11
Ra'Jiska
Member
 
Registered: Apr 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
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.
 
Old 08-13-2013, 09:56 AM   #12
Ra'Jiska
Member
 
Registered: Apr 2013
Posts: 47

Original Poster
Rep: Reputation: Disabled
But I hard that I had to install my own DNS servers ?
I've set the DNS the ISP gave me.
 
Old 08-13-2013, 09:57 AM   #13
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
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.
 
Old 08-15-2013, 10:37 AM   #14
dt64
Member
 
Registered: Sep 2012
Distribution: RHEL5/6, CentOS5/6
Posts: 216

Rep: Reputation: 38
Quote:
Originally Posted by Ra'Jiska View Post
The ping request does not answer from my PC.
Yes, I think I registred it perfectly, here it is:

Ping from my server hosted from OVH:
Code:
$ ping myDomain
PING $myDomain (127.0.0.1) 56(84) bytes of data.
64 bytes from pf-official.eu (127.0.0.1): icmp_req=1 ttl=64 time=0.038 ms
Ping from another OVH Server:

Code:
$ ping myDomain
ping: unknown host $myDomain
And the ping from my PC does not work either.
I think it comes from the server that needs to be configured, no ?
Quote:
Originally Posted by Ra'Jiska View Post
Yes, my DNS Provider is OVH. I don't know for local DNS, but my DNS Servers are:

Primary: nsxxxxxx.ovh.net
Secondary: sdns2.ovh.net

Thanks for your help.
That's are what your server can see.
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dedicated server DNS and domain name setup Luna-tic Linux - Server 6 12-11-2011 04:04 PM
Can i set up a dns server if i don't have registered domain? cola Linux - Server 7 06-02-2010 09:51 PM
Domain unable to open when memory hit 40% on dedicated server! modpriest Linux - Newbie 1 02-15-2008 02:03 AM
i have taken a domain name. how to set it up on my virtual dedicated server phpsharma Linux - General 4 03-15-2005 08:30 PM
What do I need to set up an dedicated Counterstrike server? B52man Linux - General 2 01-03-2001 06:16 AM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration