Link to home
Start Free TrialLog in
Avatar of sanyogita
sanyogita

asked on

setting up own web server

Hello,

I would like to setup our own web server in the company. I don't know anything regarding this.
Pl.explain me everything about it.

We want to use SQL server to keep data.
We have our own web site and developing in ASP.
Before this we were doing web hosting but now as we are forming our own web server IP address will change so pl.tell me what is a procedure for conveying this IP to all clients  all over world as they will not get our site by name (they will get it by IP address only).

Pl.explain what is router,firewall etc.

Regards,

Sanyogita


Avatar of madhubk
madhubk
Flag of India image

http://www.diywebserver.com/ Read the info on this website
ASKER CERTIFIED SOLUTION
Avatar of humeniuk
humeniuk
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sanyogita
sanyogita

ASKER

Hi,

What I want is acual  procedure to set up web server (i.e what I have to install on that computer. I am using windows 2000 server).
What services I have to activate.

Also,

In order to get web site by name after changing it to our own web server where I have to communicate and change the IP address ? so that clients should browse web site by name. Phones & mails are not possible here.

Help me.

Sanyogita

Windows 2000 Server comes with IIS, a web server platform.  You can find a good tutorial for and setting up websites on Windows 2000 Server at www.simongibson.com/intranet/iis5.  This tutorial doesn't include info on installing IIS, but you can find that in this tutorial for IIS6 - the process is essentially the same - www.simongibson.com/intranet/iist6.

In order to be able to access your website by a URL (ie. www.yourcompany.com) instead of an IP address (ie. 64.123.45.102), you have to register a domain name.  You do this with a domain registrar like www.godaddy.com or www.namecheap.com.  You can then configure your domain name to point to your IP address using a DNS service.  Most registrars offer a DNS service with domain registration, but you can also use a DNS service like www.zoneedit.com.
We have registered on DNS park but its reports are showing that it is not getting our nameservers. What is its reason and what we have to do for that ?


Sanyogita
We normally do with Register.com where you can put the IP address of your webserver directly to their Name Server and use their nameservers. In your case, if you have a different nameserver (either of your own or with your ISP) you need to talk to the Network division of your organization to get this sorted out first. Moreover, this is out of the scope of this Channel.

--Madhu
Where did you register the domain and what are you using for DNS service?  Remember that it can take 24-48 hours for DNS changes to propagate to the internet.
Hi,

If our domain is already registered and we setup our own web server then is it compulsorty to tell our web hosting service to stop their service because we have setup our web server or what is the procedure ?
How we can identify that website is running from our web server and not from our web hosting service.

Pl.tell the procedure.

Sanyogita
No, it's not necessary.  In fact, you should leave the old site up for a little while until the changeover is complete.  One way to make sure the site is coming from your own server is to ping the domain name and see if it returns your IP address or the hosting company IP address.  Alternatively, you can make a subtle change to one of the pages and see which version is returned.  In either case, remember that even if you can see the site in its new location, others may still be using the hosting company version if their ISP cache is still holding the old address, so it's better to leave the site up in the first location for a week or so.
When I browse my site it is opening page but when I give ping domain name it is giving me error as
unknown host name

Why ?

Sanyogita
Also on register.com I found only domain registration,renew,transfer etc. but if IP address of web server is changed and our previous nameserver is unavailable then in order to update our IP address and domain name on internet I did not found how to avail DNS service .

Pl. explain it.

Sanyogita
It will be easier to trace where things are going wrong if you can give us the domain name you are using.

I haven't used register.com, so I had to look this up in the FAQ (below).  It looks like your best bet is to use the register.com tutorial.  If you want to use a third party DNS service, use the 'Change your DNS' tutorial.  If you want to use register.com's DNS service, use the 'Change your IP Address' tutorial.

"Q - How do I change my Domain Name Server, (DNS) information?

A - Please follow the instructions below to change your DNS or check out our new online tutorial (www.register.com/tutorials).

Simply sign into Domain Manager™ (http://mydomain.register.com) and select Modify DNS from the main menu.  You will need to be prepared with the names of the DNS that you would like to list as authoritative for your domain name - information typically provided by your ISP, Web hosting company or network administrator. Registrants of .org addresses should note that the registry requires two unique DNS for the address to function properly.

An email containing a link to the last step of the DNS change process will be sent to the administrative contact email address on file for your domain name.

Please allow 24 to 72 hours (standard Internet propagation time) for the update to be completed.

If the Modify DNS link does not appear, this may be an indicator that the Internet systems used to verify certain domain name information are unavailable.

If you have any problems editing your DNS information, please contact our Customer Support department using the 'Ask Us A Question' tab above.  One of our representatives will be happy to assist you."

(source - http://support.register.com/cgi-bin/register.cfg/php/enduser/std_adp.php?p_faqid=475)


"Q - How do I change my IP Address?

A - Access to some of the technical settings for your account depends on whether or not you are using Register.com's Domain Name Servers (DNS). Please follow the instructions below to change your IP Address, or check out our new online tutorial (www.register.com/tutorials).

If you use Register.com's DNS, then you can modify this information online by signing into Domain Manager (http://mydomain.register.com) and selecting Change IP (A Record) from the main menu.

If you do NOT use Register.com's DNS, then you need to contact the DNS Administrators of the ISP or Web hosting company that manages the DNS currently listed for your account.

This will open a page on which you can add, edit or delete an IP Address.  Click the appropriate button to edit, add or delete IP Addresses for your domain name. Doing so will generate an editable list of all of the IP Addresses associated with the domain name.  You may make the necessary changes, then click Yes to apply them.  Click Yes again to confirm the changes."

(source - http://support.register.com/cgi-bin/register.cfg/php/enduser/std_adp.php?p_faqid=480)


Again, I strongly recommend that you read the information at the links given above so that you will understand the changes you are making.
Hi,

Reading your replies and other articles on internet I have understood foll.procedure to make a web server . Pl.tell me if anything wrong or missing:

Install windows 2000 server.
Install IIS5 .
Then install Sql server 2000 (client tools for web server). Then install service pack 3.
Create databases on it. Pur ASP scripts on it.
Start sql server service.

Only tell me after installing IIS5 how to relate it to our website.


Sanyogita






See that a new IP address in updated on internet. Now I know that procedure.
I am asking on our local machine what to do that our new website is to be identified by IIS5

Sanyogita
I would suggest that you get the web server up and running and make sure that it is available on the internet before you install SQL Server and start worrying about databases.  You can add that once the web server is functional.  If your domain name resolves to your proper public (internet) IP address, then you have set up DNS properly.

The next thing to make sure of is that incoming http traffic (on port 80) is reaching your web server.  How to do this depends on the configuration of your network.  Most people use a firewall or router.  If this is the case with you, you have to make sure that all incoming port 80 traffic is forwarded to the private (network) IP address of your web server.  How to do this depends on the make/model of your router/firewall.   However, if you do not do this, internet traffic will not reach your web server.

"I am asking on our local machine what to do that our new website is to be identified by IIS5"
The process for setting up a website to be hosted on IIS5 is well documented in the tutorial I provided above - www.simongibson.com/intranet/iis5.  Steps 3, 4 and 5 are your three options for setting up your web server to know which website to serve.  If you are only hosting one website on the server, use step 3 - "Method of Access (using an IP address)".  If you are hosting more tha none website on the server, use step 5 - "Method of Access (using Headers)" and make sure your header is the URL you want people to use, ie. www.yourdomain.com.  You can set up a website to answer to multiple URLs.
This question only worth 50 points, not to mention this is a complicated setup but if you follow the directions giving here:

Creating my own web server - https://www.experts-exchange.com/questions/21310968/Creating-my-own-web-server.html
You should be able to do it as I did.
Good luck!
Pl. explain how to start web server and how to do port forwarding so that network traffic should reach to our web server. When we mention IP address and port 80 in IIS5
new web site, is it not sufficient ?

we use Cisco firewall.

Regards,

Sanyogita
By putting port 80 on your web server, you are telling the server to listen for traffic on port 80.  That is sufficient if your server is connected directly to the internet.  It isn't sufficient if your firewall is blocking port 80, which isn't a bad thing, because that's it's job.  So, what you need to do is configure the firewall so that any incoming traffic that is using port 80 is not blocked but is forwarded to the web server instead.
Pl. tell  me how to do port forwarding.

Sanyogita
I am not proficient enough with Cisco firewalls to give you specific directions, but since you are using a Cisco firewall, I presume that your organization is fairly serious about security.  I would recommend that you speak with whoever manages the firewall and have them do the configuration so that it is done properly.  Just tell them you need http traffic (port 80) forwarded to your web server.  If you are using SSL, you will also need port 443 (or whatever you are using) forwarded as well.
Is it sufficient to mention only port number 80 in default web site properties of IIS ? How it will recognize IP address of machine having web server  (here router and firewall are in use).


Sanyogita
We have a mail hosting system. We download mail from that server. But now they have changed their IP address so mails are not coming or not going internally also . Our internal server is having linux platform. Pl. tell me what has happened and where to do change .
It is very urgent so quick reply is awaited.

Sanyogita
"Is it sufficient to mention only port number 80 in default web site properties of IIS ? How it will recognize IP address of machine having web server"
That is not sufficient.  Your router has to be configured to forward port 80 traffic to the network IP address of the web server.

"We have a mail hosting system. We download mail from that server. But now they have changed their IP address so mails are not coming or not going internally also . Our internal server is having linux platform. Pl. tell me what has happened and where to do change.  It is very urgent so quick reply is awaited."
Who changed the IP and why?  Why not just change it back to what it was before?
No, like web hosting service it is our mail hosting service i.e. Our mail get downloaded there and then we download on our server and they get circulated in office. We do not have our own mail server. Now, person of that mail hosing service has changed IP of their server and some configurations.
We have given different mail account for internal and external mails. Now, because of change in his configuration we are not able to get mails from outside.

What to do? It is urgent.

Sanyogita

There are many different possibilities.  Without knowing a lot more about how things work between you and the email hosting provider, I would hesitate to start speculating about what is going on.  Your best bet is to contact the email hosting provider's support.  They should be able to get you up and running fairly quickly.

Also, this appears to be unrelated to the original question so it really should be a new question (in a different TA, most likely).
OK,

Now, I would like to ask question related to my question topic.

What is NAT? How to install NAT and it is to be installed on IIS? How to configure it to allow our web site to be connected to internet.


Sanyogita

NAT is Network Address Translation.  It basically means converting (or translating) the IP address on one network to a different IP address on a different network.  Typically, this means translating a public/internet IP address to a private/network IP address.  NAT is most often a function of a router.  It is more complex alternative to port forwarding if you have multiple public IP addresses.  With port forwarding, you might forward all http traffic arriving at your IP address to your web server.  With NAT, you would be more likely to forward all traffic on one IP to your webserver and traffic on other IPs to somewhere else.
Ok, but what I want is :
See on our web server IIS is installed and in order to connect it to internet we give IP address of our web site in its properties and port 80. But, there only port 80 is given and IP address of web site is given internally by installing NAT.
I want to know how it is done. Where to install NAT and how to give IP of web site internally ?

Sanyogita
NAT isn't something you install, it's a function of your router that you configure.  You use NAT to translate the public/internet IP address that you use to the private/network IP address of your web server.  By doing this, traffic that arrives at your public IP address is forwarded to your web server.
fixup protocol ftp 21
fixup protocol h323 h225 1720
fixup protocol h323 ras 1718-1719
fixup protocol http 80
fixup protocol ils 389
fixup protocol rsh 514
fixup protocol rtsp 554
fixup protocol sip 5060
fixup protocol sip udp 5060
fixup protocol skinny 2000
fixup protocol smtp 25
fixup protocol sqlnet 1521

pdm location 80.0.0.201 255.255.255.255 inside
pdm location 80.0.0.147 255.255.255.255 inside
pdm history enable

global (outside) 11 <removed by OzzMod for poster's own security>
nat (inside) 11 0.0.0.0 0.0.0.0 0 0

floodguard enable
telnet timeout 5
ssh timeout 5
console timeout 0
terminal width 80
floodguard enable

static (inside,outside) <removed by OzzMod for poster's own security> 80.0.0.78 netmask 255.255.255.255 0 0

route outside 0.0.0.0 0.0.0.0 <removed by OzzMod for poster's own security> 1
route inside 192.168.1.0 255.255.255.0 80.0.0.15 1
route inside 192.168.2.0 255.255.255.0 80.0.0.15 1

Pl. explain meaning of each line.
It is very important for me.

Regards,

Sanyogita
You would have to provide some information as to where this information came from.  Also, does it have anything to do with your original question?
Yes,

I want to understand from above lines how ports are blocked or how nat is cofigured because I know IP addresses of various things but in above code how they are used I want to understand. This is firewall configuration.
I want to get information about how IP address is converted by NAT. Is router connected to PC which I know and lot of such information. If you explain meaning it will be easy for me to understand how IIS is connected to internet.

Thanks

Sanyogita
Thanks nihlcat.

As the link above points out, you should really start a new question for this, preferably in the Cisco TA.  There are people there who can give you much better help with that than I can.

However, network security is serious business.  If you need to ask how to configure a Cisco firewall, I would suggest that the proper answer is that you shouldn't be the one doing it.  That should be left to someone who is experienced and proficient with that hardware.

To answer your other question, yes, the router is between the internet and the PC as is the firewall.
Wow?