R
R
Ruslan Banochkin2011-04-26 22:42:24
local server
Ruslan Banochkin, 2011-04-26 22:42:24

Setting up a local web server?

I apologize to the Khabrovites if I use the terms incorrectly.

In general, I have a server in the closet, a web server is installed on it (Ubuntu Server 10.10 platform). It costs for different purposes, but now there is an idea-fix, which I still can’t implement. Many familiar Linuxoids are already tired, but they still didn’t understand.

In general, I want to do something similar to Denevr under win. A small local web server, but so that everything is stored not on the machine you are working on, but on the server that you have already mentioned. That is, I connected to the local network, entered into the browser, say, local , and I opened the site, which is currently on my server. Naturally, you need to make sure that you can add more domains, in addition to local.

At the moment, I only have a stub when entering the server itself (when opening 192.168.1.2), plus I configured Apache a little, created a public_html folder in ~/, in which I already want to create domains. True, now everything opens only with this address in the browser: 192.168.1.2/~sk8er/local . Not convenient.

The entire local network is based on a Netgear WNR3500L-100RUS router .

I hope I explained correctly. If there are questions, I will clarify.

And in the future, I would also like to open external access for personal experience. I pay for hosting, but I want it on my own. :)

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
Sergey, 2011-04-27
@butteff

apt-get install lamp
then install some panel like direct admin and enjoy "hosting" where you can do whatever you want through the panel without thinking about linux.
Well, here it is.

Z
zizop, 2011-04-26
@zizop

A simple recipe: take the config from here , add sites in server_name to it and to /etc/hosts, replace Apache with nginx and php5-fpm and the web server is ready.
Well, on clients, register sites in hosts.

R
Roman, 2011-04-26
@WNeZRoS

Look towards virtual hosts. And domains can be registered in the hosts of the working machine.

U
Udivitelna_ya, 2011-04-27
@Udivitelna_ya

The problem is solved with the help of virtual hosts .

P
pentarh, 2011-04-27
@pentarh

Oddly enough, Google gives out a sensible article on the topic on a hacker)) )
www.xakep.ru/magazine/xa/120/120/1.asp
disk. Search here
www.google.com/search?hl=en&q=%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0 +samba+ubuntu

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question