How to get my site on the web with apache

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

How to get my site on the web with apache

Post by tecktalkcm0391 »

I have apache installed and my files in the htdocs folder, but now how do I get to it on the internet. I have a domain, but how do I get this to work!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: How to get my site on the web with apache

Post by Chris Corbyn »

tecktalkcm0391 wrote:I have apache installed and my files in the htdocs folder, but now how do I get to it on the internet. I have a domain, but how do I get this to work!
Can you access your site by IP first of all? There are instructions for this on the apache.org website.

Make sure the service is started and port 80 is open on your firewall. If you're behind a router make sure you're either in a DMZ or that port 80 is forwarded to you.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

OK what do I have to have installed for it to work with PHP ( I know PHP )? Anything eles?
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

First, if you have a domain, you may want a static IP.

My ISP charges me $104.95 a month for a (awesome) connection and static IP.

You are going to have to tell your domain to direct people to your incoming IP addres no matter who it is hosted by and whether you host your own DNS or not.

I am goign to say that since you are 15 your parents probably ordered a standard internet connection wher eyou have a dynamic IP and that means that you aren't going to be able to map your IP to your domain. I mean, you can, but everytime you restart your computer or modem, that IP is going to change and you will have to change the settings.

You may also need to configure some stuff on your router.
Jixxor
Forum Commoner
Posts: 46
Joined: Wed Jun 07, 2006 5:53 pm
Location: Lakeland, FL

Post by Jixxor »

Daedalus- wrote:First, if you have a domain, you may want a static IP.

My ISP charges me $104.95 a month for a (awesome) connection and static IP.

You are going to have to tell your domain to direct people to your incoming IP addres no matter who it is hosted by and whether you host your own DNS or not.

I am goign to say that since you are 15 your parents probably ordered a standard internet connection wher eyou have a dynamic IP and that means that you aren't going to be able to map your IP to your domain. I mean, you can, but everytime you restart your computer or modem, that IP is going to change and you will have to change the settings.

You may also need to configure some stuff on your router.
Or you could always go my route when having Verizons 3MBit DSL line and emulate a static ip when you really have a dynamic one. ;)

Somewhat decent hosting speed for just screwing around with web hosting and it's only $35 a month... not bad IMHO. :P

tecktalkcm0391, there are tons of tutorials out there, even pre-built packages that come with MySQL, PHP and Apache all configured and ready to install. Try using Google look for PHP + Apache install tutorial. You'll learn alot more than us trying to explain it too you. ;)
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Are you wanting to use your local machine as a web server? Or are you talking about hosting your site somewhere else? From a cost perspective, you can get hosting for like $3 a month nowadays, and you don't have to manage the security or updates of software. Hosts also have uptime guarantees and maintenance staff to make sure things are handled as needed. For cheap.

I'd spend the $36 a year for managed/shared hosting and just FTP your site to your hosted server.
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

Ok everyone.

I maybe only 15, but I know about ton about computers. I could easily set up a static IP address. I know about webhosting being really cheap, but I am trying to figure out how to host a website on my computer so that I can then move to a server in the next year. :) Thanks for your guys input, I'll try to find something on Google!

Chris
Post Reply