Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
hello,
if i have the web page of mine: index.html that i put in /etc/httpd.
and i will buy a domain: for example: ronen.co.il,connected to the internet by a modem.
haw do i make my apache start 2 become my web server?
thanks
ronen

Well there are a lot of things to do!
First you need the domain.
Second you need a static, registered IP for your web server.
IPs from the private address range will not be routed in the Internet.
Third a DNS entry for www.domain.tld
Your provider can do this for you.
Next is a permanent fast connection to the net.The start/stop script is rcapache, but may depend on your distro.
If you're new to this stuff you should first run a web server in an intranet!
Did you think about security and how to harden your system ?I doubt that /etc/httpd is the right place to put your html files to, this will only lead to security problems.
Most likely the location of HTML files and scripts is /usr/local/httpd/htdocsProbably you have heard of the Linux Filesystem Hierarchy Standard. It's pretty well defined which data should reside in which directories.
www.freestandards.org or www.pathname.org
You can download FHS as PDF file, 96 KB.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |