[SOLVED]Configure Apache to be accessable on the internet

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
hibbard
Forum Newbie
Posts: 11
Joined: Sun Nov 02, 2003 1:15 pm

[SOLVED]Configure Apache to be accessable on the internet

Post by hibbard »

Not sure where to post this, so i'm positng it here...

Currently, I have apache setup at home ( windows xp, apache 2 ) to just run for my web development. However, i'd like to be able to access my web pages that are on my computer now, from the internet by typing in my IP.

Is there a way to do this? In other words, do I need a URL redirector, or do I need to make changes in my apache configuration?

I'm currently using a static IP, but I am pretty sure this ispossible still yet ( even if my ip changes ). I've tried downloading NetStat and other related web hosting services, but of course they override my apache configuration and php doesn't work. Any help would greatly be appreciated .
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

My system: WinXP, Apache 1.3, accessible from the internet.

Simply, I think you can make it accessible by editing your httpd.conf and changing every mention of localhost with your ip address.
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

it should be working already, just type in ur ip address and have a look,
on xp, go to start > run and type in "cmd" without the quotes, in the dos window type in "ipconfig", that should tell you ur ip :D.

mostly you just have to worry about how to make it secure :roll:.

edit->i took 5 mins to type this up? 8O
hibbard
Forum Newbie
Posts: 11
Joined: Sun Nov 02, 2003 1:15 pm

Post by hibbard »

thanks. i should have known to try it out before i asked lol.. thanks again :D
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

If it changes a lot, I suggest using the free Dynamic DNS service found at http://www.dyndns.org/

It gives your IP a name (you get a subdomain from a variety of domains they offer) and you can point your apache config file to that URL. When your IP changes, you can update the address via their site's control panel.
Post Reply