Results 1 to 3 of 3

Thread: Adding a domainname to my webserver

  1. #1
    Join Date
    Feb 2012

    Question Adding a domainname to my webserver


    As i'm new to Ubuntu server, my guess is that this isn't a really `smart` question, but I'm a bit confused. I've set up a webserver with LAMP on my old computer and I'm able to access it trough my external IP address all over the world. As I used to host my website on just another webhosting company I bought a domainname over there. But now I want to assign the domainname to my personal webserver, but I'm totally confused how to go there. I've read articles on DNS etcetera, making me think that I should run my own DNS server or...? I have no clue actually, I would be very thankfull if somebody could help me out!


  2. #2
    Join Date
    Apr 2008
    Ubuntu Development Release

    Re: Adding a domainname to my webserver

    No need to run your own DNS, that just complicates things.

    All you need to do is log on to the control panel of your webhosting company and edit the A record of your domain name in the DNS settings so that it points to your IP.

    I can't talk you through it exactly as hosting companies use different methods of doing this. There should be more info or a help section on the webhosts site to point you in the right direction.

  3. #3
    Join Date
    Oct 2009
    Ubuntu 16.04 Xenial Xerus

    Re: Adding a domainname to my webserver

    The easiest way is to just create an A (Host) record in your webhost's DNS control panel and point your domain name to your external IP.

    You would have to ensure you have port forwarding setup, which looks like you have already done.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts