Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Domain name links to localhost

    Well I ordered a domain name, but I want it to show my localhost.

    When I visit mywebsite.com it shows my localhost, is this possible and how does this works?

    Thank you!

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,040
    Thanks
    10
    Thanked 92 Times in 90 Posts
    you need a static IP or a dynamic DNS account, when you have either of these you create an A record in your DNS hosting control panel to point to that static IP or a CNAME to your dynamic DNS hostname.

    Then you need to port-forward ports 80 and 443 (or whatever you want to use) from your modem to your local IP address of the machine doing the hosting.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    Regular Coder
    Join Date
    Sep 2011
    Posts
    116
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Sorry for my late response. But I already port forwarded so that's done. I'll go give it a shot!

    Thanks

  • #4
    New Coder
    Join Date
    Jan 2014
    Posts
    13
    Thanks
    1
    Thanked 1 Time in 1 Post
    Define your scenario better.

    I assume you want to publish a local web server on your internal network, to the internet. We need to know what firewalls/routers etc you have running.

  • #5
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,853
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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