Dear Brother,
Asalam o Alaikum,
First of all
You need to first decide=
Use Microsoft Windows OR Open Source (Unix, Linux Any Flavor, suSe, Redhat, Fedora, OpenBSD, FreeBSD, Sun Solaris, etc)
use Internet Information Services in case you understand and are a user of Microsoft's Monopoly, or i prefer you to use Apache using open source.
OR
Apache
when decided now
lets see whats a webserver has ?
what are a web server's simple stuff
first of you design your pages using any tool (dreamviewer the most famous)
ALSO for dynamic pages you need to know web extensions compatible with your server
.php
.cgi
.asp / .aspx
for e.g.
IIS does not normally support PHP, CGI, and these extensions might be needed to be enabled
and same case for APACHE
it supports modules SO MAKE SURE if you are using dynamic so you have to enable them, (but here as you dont you have a static page)
all web server's have a system directory path where you can place your designed / testing website
for
example
for IIS (C\inetpub\wwwroot\(now here comes the sites)
for APACHE depended upon the linux distribution
for e.g. f
DocumentRoot /home/www/thewebsite.com
then an access to
http://www.thewebsite.com/index.html refers to /home/www/thewebsite/index.html.
Finding Apache Document Root
Use grep command as follows:
# grep -i 'DocumentRoot' httpd.conf
RHEL / Red hat / Fedora / CentOS Linux specific command:
# grep -i 'DocumentRoot' /etc/httpd/conf/httpd.conf
FreeBSD specific command:
# grep -i 'DocumentRoot' /usr/local/etc/apache22/httpd.conf
Sample output:
# DocumentRoot: The directory out of which you will serve your
DocumentRoot "/usr/local/www/apache22/data"
/usr/local/www/apache22/data is default document root for your website.
To modify DocumentRoot use vi command and change DocumentRoot:
# vi /etc/httpd/conf/httpd.conf
also give permissions on that directory to related users.