How to get my site on the web with apache
Moderator: General Moderators
- 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
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!
- 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
Can you access your site by IP first of all? There are instructions for this on the apache.org website.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!
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.
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
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.
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.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.
Somewhat decent hosting speed for just screwing around with web hosting and it's only $35 a month... not bad IMHO.
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.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
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.
I'd spend the $36 a year for managed/shared hosting and just FTP your site to your hosted server.
- tecktalkcm0391
- DevNet Resident
- Posts: 1030
- Joined: Fri May 26, 2006 9:25 am
- Location: Florida
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
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.
Chris