Answer the question
In order to leave comments, you need to log in
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
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.
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.
Look towards virtual hosts. And domains can be registered in the hosts of the working machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question