Read on full site | Join TechSpot! (it's free) | Bookmark / Share this



Hosting a web server on your red hat 9

nvr2late
11-24-2004, 01:53 AM
Hello Every expert here.
Happy thanksgiving.
I am a new bie on Linux, managed to install dual boot with windows 2000 pro with Red Hat 9.
I wanted to run and host a web site for myself maybe 5-10 pages, working to configure how all these work together, and was looking for FREE!! ( I like it).
I have registered a domain name for free (www.domainname.com), and now the name servers also for free (you would like for free..www.zoneedit.com ). I have my pc connected to internet via LINKSYS router on cable modem. Most of the time my ip is static, as I donot turn off the power on router and it keeps same ( at least I ahve seen for a year, the same ip address).
What would I require to configure my www.mynewbielinux.com to be published to the world.
where would I open the web server port ? Can someone show me the steps. Also when I do a dig command on red hat I get the nameserver but not my ip address, the ip address I get is from my isp. (remember I am using cable modem via router). I have entered the ip address of my machine (not 192.168.xx.xx) but the one I get on router while providing information to my nameserver on zoneedit.com.
I know you gurus have done this long back, but can you share please ??????
Thankyou very much.

Nodsu
11-24-2004, 07:47 AM
On the router you have to forward port 80 to the local IP of your Linux box. If you want to use secure HTTP, forward port 443 also.

On your Linux box, make sure you have apache installed and enabled in system services. By default it will serve anything you have in /var/www directory.

First try to access your webpage through the LAN by the local IP address to make sure you have the server set up right.
Then try to access your web server by your public IP to test the port forwarding.
Then try with your registered domain name.

Ad
11-24-2004, 07:47 AM
  

MYOB
11-24-2004, 02:55 PM
Doesn't this message strike you as somewhat spammy?

</cynical bastard>

nvr2late
11-25-2004, 10:08 AM
why spammy ?
If I am trying to learn something and someone guiding through. It could be that I might be wrong, do you intent to say or guide something in different way ...please post.

mindspin
11-26-2004, 04:53 AM
I dont really know what you mean whith the last few lines, but I guess you need your external IP. Just check out http://checkip.dyndns.org/ and you'll find your IP number.
Now when you access your router on your own pc. You have to seek for an option called virtual server or port forwarding which basically forwards an ip to the outside world.
That way people who visit your.ip.address.com will be sent through to your personal computer where your website is hosted.

After that place the files you want to display on your website in the /var/www/ directory and test them just as Nodsu mentioned, first locally ( http://localhost/ ) then by typing your external ip in your browser. If both works your webserver should be working properly.

I assume you already installed the apache webserver software, it is delivered along with the redhat distribution and to be installed automatically i thought. If not, download it here (http://httpd.kookel.org/httpd/httpd-2.0.52.tar.gz) and install it in the proper ways.

Hope this helps you along, if not just ask!

radnam
10-25-2008, 02:43 PM
I think what you need is a Hosting package and need to host with a good hosting company and start with them. They would be able to provide you with much more help and it would be more reliable as well.

jobeard
12-19-2008, 01:56 PM
see http://www.techspot.com/vb/showthread.php?p=693326

oops; this is a VERY OLD THREAD

vaskebb
01-28-2009, 01:25 PM
ja stvarno ne znam sta da napisem

vaskebb
01-28-2009, 01:26 PM
ovo mi cisto sluzi kako bih mogao da se zezam

vaskebb
01-28-2009, 01:26 PM
au kakve gluposti covek napise....kuku

Ad
01-28-2009, 01:26 PM
  

vaskebb
01-28-2009, 01:26 PM
a ustvari imam problem sa task managerom, so i was wondering if anyone could help me

vaskebb
01-28-2009, 01:27 PM
ako ne ko vas jebe. Zivela revolucija. Za kralja, otadzbinu i slobodan narod

Post a reply, see related topics & more

Tip: Download Advanced SystemCare 3 Free - Clean, Repair, Protect & Optimize your PC.



 Top Technology News

TechSpot Blog: Disable Windows automatic check for solutions after a program crashes

Weekend Open Forum: Google Chrome OS and the future of cloud computing

Tech Tip of the Week: Unearth Region-Specific Windows 7 Themes

Sony: PlayStation 3 to be 3D-capable via firmware update

iSuppli: DDR3 to account for over half of DRAM shipments by Q2 2010

Facebook named third most popular video website behind YouTube and Hulu

Patriot introduces new PS-100 SSD series

Sony working on digital store for music, movies, books

More Tech News

  
 Software Downloads

Norton Virus Definitions 2003-07 November 20, 2009

AVG Anti-Virus Updates November 20, 2009

Norton Virus Definitions 2008-09 November 20, 2009

avast! Virus Definitions November 20, 2009

McAfee SuperDAT Update 5808

Kaspersky Anti-Virus Update November 20, 2009

Google SketchUp 7.1.6087

More Downloads



Copyright © 1998-2009 TechSpot.com. TechSpot is a registered trademark. All Rights Reserved.