Thread: DNS redirect

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2011
    Posts
    1
    Rep Power
    0

    DNS redirect


    Hello All!

    I have a question and I haven't been able to find any very good answers. What I want to do is get a domain (example.com) and map it to my IP address 123.123.123.123. So I can forward the ports on my router and run my webserver from my house.

    What records do I need in place to do this? Can I just set an A record? Will this work?

    Thanks!
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2010
    Location
    Florida
    Posts
    248
    Rep Power
    4
    A record would be the minimum. If you don't want to run your own DNS server, just make sure you use a registrar that provides free DNS services. If you want to run your own DNS server, it's a little more labor to set it up than just adding an A record. The forum has a sticky on it.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2011
    Posts
    3
    Rep Power
    0
    I use zoneedit for all my domains.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2011
    Location
    United States
    Posts
    24
    Rep Power
    0
    Yes, once you have the DNS record in place (host record), you'll then need to configure your router to map the public IP to a private IP on your internal LAN on the port the app is listening on, such as 80 for HTTP.

IMN logo majestic logo threadwatch logo seochat tools logo