CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Apache server

  1. #1
    Join Date
    May 2008
    Posts
    12

    Apache server

    I set up Apache and gave my ip address to my friends, but they couldn't load my website. Does this load if you go to http://192.168.2.4 ? or http://192.168.2.4/index.html ? Do I need to do something else besides putting my files in the htdocs folder? I was also online at the time they went to the site. I changed the main page to index.html where as before it was http://192.168.2.4/frames.html. Might that have something to do with it?
    Last edited by Artitatt; June 13th, 2008 at 02:57 AM.

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Apache server

    [ moved ]
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2002
    Posts
    10,943

    Re: Apache server

    LAN IP and WAN IP are two major differences. You have given them the IP for your local network. However, they would need your wide-area IP. However, given today's internet setup, you are probably being NAT-ed by your ISP.

    In order for your friends to connect to your personal computer with Apache installed, you would all need to use a VPN. There are plenty of good, free VPN softwares available.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  4. #4
    Join Date
    Jun 2008
    Posts
    6

    Re: Apache server

    what you need to do is find your external ip address, this can quite easily be found in google a search for 'external IP' will give you, your external I.P.

    then you need to go onto your router and port forward 80 to your internal IP...

    however when you set something like this up it is a major security risk and you should have some sort of protection in place even if its just passworded.

  5. #5
    Join Date
    May 2002
    Posts
    10,943

    Re: Apache server

    Quote Originally Posted by Flakes
    what you need to do is find your external ip address, this can quite easily be found in google a search for 'external IP' will give you, your external I.P.

    then you need to go onto your router and port forward 80 to your internal IP...
    But, none of that is possible if his ISP NATs.

    Quote Originally Posted by Flakes
    however when you set something like this up it is a major security risk and you should have some sort of protection in place even if its just passworded.
    Hence why he needs to use a VPN.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  6. #6
    Join Date
    May 2008
    Posts
    12

    Re: Apache server

    Thanks guys. I think I'll just quit using Apache. I'll upload my website to my family's domain when I can. It would probably be a hassle for my friends to download a VPN.

  7. #7
    Join Date
    May 2008
    Posts
    12

    Re: Apache server

    Quote Originally Posted by PeejAvery
    [ moved ]
    Why did you write "[ moved ]"?

  8. #8
    Join Date
    May 2002
    Posts
    10,943

    Re: Apache server

    Because I moved the thread from the client-side forum to the server-side forum. It's what we moderators do to help keep things clean and in order. This way people know what editing we do/have done.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured