Results 1 to 2 of 2

Thread: Localhost problem but I know it has to do with my router

  1. #1
    Join Date
    Jan 2009

    Exclamation Localhost problem but I know it has to do with my router

    ok where to begin...when i set up any type of locally deployed development environment, eg apache or iis, i have to force it to route to instead of http://localhost/, which is usually the default.

    I know the reason is my internet connection comes in through a Netgear router (if you need specifics i will provide them) but I don't understand all the nitty-gritty details and I would like to so it is easier for me to configure.

    Ultimately I would like to not have to configure the new development environments for at all but without understanding what is going on in the first place I cannot make an attempt at solving the problem.

    I hope this makes some sort of sense. Please ask any and all questions, I will try to give descriptive and detailed answers.

    post your flippin' source code! don't explain it in English when it is already written in code.

  2. #2
    Join Date
    Sep 2008
    Akron, OH
    You should be able to modify this in your "hosts" file.


    Edit that file in your text editor.

    It should look something like this: localhost

    If you want local host to route to because of your router, you could change the IP.

    Ex: localhost

    This tells your computer when you try to go to local host, you're really going to
    I'm always up for networking with fellow web professionals. Connect with me on LinkedIn if you like!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles