home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Hosting my own website

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2139
Discussions: 200,948, Posts: 2,379,386, Members: 246,309
Old July 20th, 2005, 02:20 AM   Digg it!   #1 (permalink)
Member
 
redfoxstorm's Avatar
 
Join Date: Feb 2005
Posts: 386
Hosting my own website

I need somebody to walk me through the steps of hosting a website from my house.
I have a static IP.
I will buy a domain name from whatever site you guys recommend. And I just bought redhat so, is there anyway I can host it from that box?
Basically if you could point me to a tutioral or fourm posting.

Thanks,
RedFox
__________________
For the Emperor, there were the Jedi. For the Evil Empire of Microsoft, there is a penguin.
redfoxstorm is offline   Reply With Quote
Old July 20th, 2005, 09:58 AM     #2 (permalink)
Member
 
redfoxstorm's Avatar
 
Join Date: Feb 2005
Posts: 386
bump
redfoxstorm is offline   Reply With Quote
Old July 20th, 2005, 10:05 AM     #3 (permalink)
is 4 f00t secks
 
sixf00t4's Avatar
 
Join Date: Aug 2002
Location: Da Burgh
Posts: 4,587
Blog Entries: 3
godaddy.com has cheap domains.

if you do it on redhat, just enable apache
__________________
Music (4/15/08) - Video (4/15/08) - blog - Legend of Six RPG
sixf00t4 is offline   Reply With Quote
Old July 20th, 2005, 10:12 AM     #4 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
You sure didn't need to buy redhat to host a webpage....

Basically what you need to do is

**Make sure hosting a webpage does not violate your ISPs terms of service**
--Granted if your site is low volume... its unlikely they will ever know, but still its good to check. Some ISPs even go as far as blocking incoming requests on port 80.

1) Install / Configure apache on your redhat box
--- You should be able to find RPM packages for redhat to install. If you are familiar with linux, compiling from source is probably a better route however.
--- I would install "webmin" to your redhat box to make apache administration easier.
--- Once you install webmin, you can configure via https://localhost:10000 and login as root
--- Files accessible on web generally go into /var/www/html/ by default.
--- Test your webpage and make sure stuff is working before putting it online (http://localhost)
2) Forward port 80 on your router (if you have one) to the redhat box. Its generally a good security practice though to have your web-accessible box on a different layer of the network than the webserver though.

Something like...

Broadband modem ---> Router that forwards port 80 to webserver. Connect webserver to the first router, and then connect another router to the first router and put all of your home PCs behind the second one. This gives you an extra firewall.
--Test accessing your webserver by going to your WAN IP address. If everything works fine, proceed with getting a domain

3) Register a domain name
4) Change the domain name DNS setttings to point to your IP address and your ISPs DNS servers... or whoever is the hosting company probably will give you DNS servers to point to.

You might want to talk to siliconjunkie, he owns a webhosting company and I'm sure could tell you a heck of alot more about security and domain names than I could.

Last edited by VHockey86 : July 20th, 2005 at 10:33 AM.
VHockey86 is offline   Reply With Quote
Old July 20th, 2005, 12:33 PM     #5 (permalink)
Member
 
redfoxstorm's Avatar
 
Join Date: Feb 2005
Posts: 386
Thanks, you give good detailed instruction, and I will ask him for advice as well. When I was setting up my static IP I asked the tech support if it was against the user agreement for me to host a website from my house and he said it shouldn't be a problem. So, I think I'm okay...for now
redfoxstorm is offline   Reply With Quote
Old July 20th, 2005, 01:30 PM     #6 (permalink)
Member
 
redfoxstorm's Avatar
 
Join Date: Feb 2005
Posts: 386
OKay,

Since I'm a newbie at Linux, lets just say I wanted to install apache on my xp box. here is the part that confuses me.

Here is the setup screen for apache that I can't answer.

1. Network Domain. Enter the DNS domain in which your server is or will be registered in. For example, if your server's full DNS name is server.mydomain.net, you would type mydomain.net here.
2. Server Name. Your server's full DNS name. From the example above, you would type server.mydomain.net here.

Do, I need to be running a server or can apache run on an xp machine?
redfoxstorm is offline   Reply With Quote
Old July 20th, 2005, 02:01 PM     #7 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
well, in essence the computer running apache is the server. Never installed apache on a windows box though, and in linux I dont recall ever setting those options...

for servername you should be able to just use "localhost", network domain i'm not sure.

Apache's website generally has pretty decent documentation if you look there.

--edit--

After a quick google it seems just using "localhost" for both is fine.

I think those settings are moreso if the server is on a domain network with a local DNS, where you have to worry about active directory and stuff.

Last edited by VHockey86 : July 20th, 2005 at 02:04 PM.
VHockey86 is offline   Reply With Quote
Old July 20th, 2005, 02:14 PM     #8 (permalink)
Member
 
redfoxstorm's Avatar
 
Join Date: Feb 2005
Posts: 386
So, i'm going to need a Linux Server OS to run this right?
redfoxstorm is offline   Reply With Quote
Old July 20th, 2005, 02:24 PM     #9 (permalink)
Perfetc Member
 
VHockey86's Avatar
 
Join Date: Jan 2003
Location: Maryland Suburbia
Posts: 4,334
no... you can just install as you were.

I meant those settings are for that kind of environment, but localhost will work fine for what you are doing.

Last edited by VHockey86 : July 20th, 2005 at 02:27 PM.
VHockey86 is offline   Reply With Quote
Old July 23rd, 2005, 12:14 PM     #10 (permalink)
Member
 
redfoxstorm's Avatar
 
Join Date: Feb 2005
Posts: 386
Okay, i've got apache on my Red Hat box, and I did the test page. http://localhost and the test page came up and said that apache was working.

Question: var/www/html is owned by root, so how will people looking up my website access this? This whole root thing is starting to piss me off? Every tutorial i've seen said to store the website content in this folder. HOW? its own by root!!! Do i have to log in as root to make my website? I've always heard of people telling me to not log in as root. Help!
redfoxstorm is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
website + FTP hosting pvt. blackburn Webmastering and Programming 1 October 31st, 2004 08:49 AM
Website Hosting slinky Webmastering and Programming 9 September 12th, 2004 12:25 AM
free website hosting? ablang Webmastering and Programming 4 March 14th, 2003 12:11 AM
Does your team need a website and\or hosting? TAlexander General Gaming Discussion 6 June 18th, 2002 02:53 PM
Hosting a website mortus Webmastering and Programming 13 April 6th, 2002 11:25 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Making Health Care Worse (169)
The disrespect of Obama by Russian .. (21)
Is It Just Me? (2934)
Wireless Televisions. (11)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (5)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Foreign voltage (10)
Recent Discussions
My monitor won't turn on after instal.. (0)
Internet Lost (0)
Graphics Card Upgrade Questions (0)
Graphics Card Upgrade Question (2)
Asus P4G8X Mobo (6)
radeon x850xt platinum & shader 3 (5)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
How to convert MP3's (2)
windows 7 internet problem (5)
Multiple Restarts Required at Boot (0)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)
Laptop with wireless problem. (1)
Wireless Televisions. (11)
Have you switched yet? (86)
screen resolution vs monitor size (2)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)


All times are GMT -4. The time now is 08:10 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28