Page 1 of 1

how to up a static page on internet

Posted: Tue Sep 28, 2010 7:43 am
by smk08
Assalamu Alaikum

dear friends i have a html page, i also have registered domain name and static ip. now i want to make my page available on the internet . please any body guide me how to do this step by step.

Jazak Allah.

Posted: Thu Sep 30, 2010 1:13 am
by ranatanveer
Dear SMK.

1. make sure your domain DNS A record is pointing to the static ip you have.

2. make sure that port 80 or 443 traffic is routing to the static ip you have (your isp will help u in this regard)

3. install OS on system and give that static ip to that system.

4. configure apache/IIS whatever OS platform you have.

5. put your html page to the document root.

6. test the port 80 traffic from outside world. (telnet 80)

is this enough ?


Posted: Wed Feb 09, 2011 4:51 pm
by zaki486
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.

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

.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 IIS (C\inetpub\wwwroot\(now here comes the sites)

for APACHE depended upon the linux distribution

for e.g. f

DocumentRoot /home/www/

then an access to 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.

Posted: Fri Feb 11, 2011 11:05 am
by Kamran.Ahmed
can u provide some guide or step by step tutorial for host a website on in house RHEL+httpd server

Posted: Sat Feb 12, 2011 2:30 pm
by lambda


Posted: Thu Feb 24, 2011 12:32 am
by DivineLight
You just have to follow these simple setps:

1. Install Apache, since you are just serving simple HTML pages you dont need anything ELSE.

2. Find home directory of apache and place your homepage there and rename it to index.html, if there's already an index.html or even index.htm delete it.

3. If you just have bought a simple domain, and they dont provide DNS services then you have to find a DNS server online or setup it also (Totally not reccommended if you are not technical). This 3rd part is tricky kinda, and you have to mess around a bit. Read on google :)

Resolution Problem with HP LCD on Linux

Posted: Fri Mar 15, 2013 8:55 am
by smk08
Asslamu Aleikum

I have replaced my monitor with Hp lcd. i have dual boot system. when a boot windews xp it works well but when i boot to linux ent 5 just before the login screen, a message appears that resolution is not support and set the resolution to 1300/784 and display is off.

kindly help me to resolve this issue