How to host a web server in your office?Asked by anindita
Hi. I remember Habrowa owners showed photos of old servers of Habr, who stood and worked right in their office.
There was a question: How can I connect servers and place them in my office? Who should I look for? Normal providers? Or is it all done in a different way?
& quot; Servers of all TM sites. Avtokadabra, Dribler, Supergabr and Habrahabr. It happens that someone spills coffee on the server, and then one of the habros lies and lies to us a sign about preventive maintenance. "
The question is not very clear ... you say so as if the “server” is some kind of special computer and it needs a special Internet. But this is not at all the case; this is any computer and any Internet, even though dial-up. Just with this approach, access to your server will be fig.
In short, take a room with air conditioning, a good UPS and choose the two most reliable providers. A very fast channel is not necessary (although it certainly depends on the site. But for an average site it is not necessary) 10-20 Mbit is enough.
This is of course complete bullshit and much easier to get some sort of VPS / VDS. But here is your choice.
Option 1a. There are service providers that provide a second NS. And you can first.
Option 2. Many registrars have the “Managed NS” feature. In this case, the name servers are with them, and you get a control panel to change any A, CNAME, MX, etc. (A - address, CNAME - available subdomains, MX - mail server, but in general, if you’re reading about bind, you’ll have to read about it) - eric machmer
In the office we only have servers of developers who immediately work, backups and all sambopomoyki office. And then, SVN, we also think to endure.
I advise you to look at Hetzner, they have more than adequate prices for dedicated root servers.
user enters domain in browser address bar,
the computer receives an ip address from the dns server corresponding to the desired name
port 80 (unless otherwise specified) sends a request of the form: “get / HTTP / 1.0”.
In response, the server sends the contents of the page.
So, to organize your web server, you need to buy a domain name (you can get a third-level domain for free, but do you need it?), Find two DNS servers (you can order from the person who sells domains, usually), register them for the purchased domain .
Then find a provider with a static IP address (preferably, but not necessary either). Connect the server, assign it an IP address and register this address in the A record in DNS. If aypishnik dynamic, you will often have to change the record in DNS. This is also possible.
In general, the feeling is that you are asking about raising a web server categorically without understanding how it should work. So that the main advice: find someone who understands. He will make a little money.
Decide on the necessary bandwidth, call local providers and such as Beeline, Comstar. Compare prices, connect.
In principle, it is possible that you are not understand where, and you have to pull the cable. This situation is somewhat more complicated, but it is also easily solved with the necessary funding;)
If I again did not guess the answer, ask again. - bryce edwards