Score:0

Installing Apache in different name and different port

in flag

If Linux server already has Apache web server running as httpd on port 80 to serve hosted website. and If I want to create a control panel to manage the server so I need to install a web server to serve the control panel GUI in different port for example :2083.

how to install second web server in different name in linux to serve the control panel GUI.

rvs avatar
vn flag
rvs
Note questions about hosting control panels are not welcome in SF. Web masters site may be more appropriate.
Score:-1
de flag

you can install Nginx and edit the configuration files (if on ubuntu) that are in /etc/nginx/sites-available/default you can change where it says

listen 80 default_server;
listen [::]:80 default_server;

and edit to what you need, from what you mentioned you could use

listen 2083 default_server;
listen [::]:2083 default_server;

edit* for SSL you can edit the line below it

listen 443 ssl default_server;
listen [::]:443 ssl default_server;

and after you've done the one you need proceed by running this command (if on ubuntu) systemctl restart nginx

Nikita Kipriyanov avatar
za flag
The question was cleary about *Apache HTTPD*, which he *already has*. If you have a knowledge of Apache, you can share it. If you don't, hmm, then why are you answering?
KeratinThaSkeed avatar
de flag
he mentioned "how to install second web server" which he already has apache and needs a different process name. if he were to use Nginx it would be a different process that also runs on a different port that also goes by a different process name. which I thought it would help his purpose but clearly it seems you know how to solve his issue so, hmm, why aren't you answering?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.