1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Link domain to Dedicated Server

Discussion in 'Web Hosting' started by r00t, Aug 25, 2009.

  1. r00t

    r00t Regular Member

    Joined:
    Dec 27, 2008
    Messages:
    310
    Likes Received:
    889
    Location:
    Mighty Europe
    Hey,

    I'm giving my first steps in dedicated servers and I need some help.

    Mine is completely unmanaged, comes just with Operating System.

    My issue is to link the domain to one of the dedicated IP that I have on the server.

    I've already installed the latest versions of apache, mysql and php. They're all up and fine, running smoothly. No issues there.

    I've also installed webmin, just in case :)

    So, since I cannot add hosts directly at the domain registrar that I used, I created a free account at DynDNS and setup two hostnames, one for each dedicated ip that i have.

    Then i used those two hostnames as my nameservers, to the domain. I'm not sure if this is the right way to do it =X

    Then I added this to the apache config file, for my domain of course:

    <VirtualHost *:80>
    ServerName www.domain.tld
    ServerAlias domain.tld *.domain.tld
    DocumentRoot /var/www/html
    </VirtualHost>

    What else do I have to do? I'm kinda lost.. If I use the domain now, it says the server can't be found.
    I don't want to access the webpage only by using the server's ip.

    Any help would be appreciated, thanks
     
  2. gundamwing

    gundamwing Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 18, 2008
    Messages:
    1,274
    Likes Received:
    913
    set you ns server on your domain first and
    in webadmin you need to wait a little bit for reflect
     
  3. r00t

    r00t Regular Member

    Joined:
    Dec 27, 2008
    Messages:
    310
    Likes Received:
    889
    Location:
    Mighty Europe
    And how do I get a ns?
    Isn't that what DynDNS does, too? I mean, I can choose between one of the two, right?
     
  4. pr0xy

    pr0xy Regular Member

    Joined:
    Mar 23, 2009
    Messages:
    224
    Likes Received:
    94
    Occupation:
    student
    Location:
    chi-city
    To set a domain go to domain provider, and create ns1 and ns2 from 1 IP, or 2 if they were provided, if you need personal help add me on msn pr0xy@feedhosting.net
     
  5. r00t

    r00t Regular Member

    Joined:
    Dec 27, 2008
    Messages:
    310
    Likes Received:
    889
    Location:
    Mighty Europe
    Got it yesterday :)
    The domain provider i'm using for this doesn't allow me to do that, unfortunately.

    I'm using a free dns service. Will try to fix my own service.

    Thanks