New answers tagged

0

You need to buy a domain name from domain register and you need to request your ISP provider for a static IP. Once you got the Domain Name and Static IP, you need to configure A record for the same in DNS server.


1

The easiest solution here is to add additional addresses to the host, and then bind one container to each address. For example, assuming that your host is 192.168.1.20, you could add additional addresses like this: ip addr add 192.168.1.21/32 dev eth0 ip addr add 192.168.1.22/32 dev eth0 ip addr add 192.168.1.23/32 dev eth0 And then, when starting a ...


2

I don't think you can can run two application in same port as DO is not providing additional IP's for Droplet. I would say try running the application using Nginx Proxy or Apache Proxy


0

For some reason you are missing the apache2.conf which usually has no content. Please try to create it using touch /etc/apache2/apache2.conf and start your web server using this command /etc/init.d/apache2 start


-1

Step 1 : netstat -lnp | grep 80 tcp 0 0 :::80 :::* LISTEN 4032/httpd Step 2 : kill -9 4032 Step 3: Service start httpd The above simple 3 steps will resolve your issue.


0

https://httpd.apache.org/docs/current/install.html You should be a power user of some degree- wheel, sudo, or su. I would advise against building in your home directory- apache will need some dependencies. It is best to install in it's default directory: /usr/local/apache2. I have built from apache.org's directions reliably on standard installs- it ...


0

If you want your webserver listening on port 80 (where webservers usually listen, but if it's only for your own use, you could probably do with another port), it will need to be started by root, in that case you'll need root access at some point anyway. RHEL 6.7 probably has packages with apache, mysql and php that just work, you'll probably need to be root ...


0

Are you compiling from source, or using rpm / yum? Either way, you'd either have to be in the wheelgroup, sudo, or su ROOT to install / build most packages and dependencies you'd need.


0

Make sure that mod_python is installed on your server. You can verify the same through the command "httpd -l" To allow .py files to be executed as scripts in a particular folder you would use this conf: <Directory /var/www/yoursite/public_html> Options +ExecCGI AddHandler cgi-script .py </Directory>


0

It is generally good security practice to set service and application accounts to non interactive login. An authorized user may still have access to those accounts using SU or SUDO but all their actions are tracked in the Sudoers log files and can be traced back to the user who executed commands under service account privileges. This is why it is important ...


0

First of all you'll need to create an endpoint in your website. The simpliest way is to create a file called robot_update.php with the following content. <?php $input_data = file_get_contents('php://input'); $decoded_data = json_decode($input_data); //Do something with $decoded_data, update image or write it to the database. ?> Next, Send your data ...


0

You could continue down this path, but I'm going to suggest taking a step back and trying a rather different approach. You have a bunch of servers. You want them to be able to talk to each other, but you want to make sure that those connections are secure, and (I think) also block external connections to all servers other than a bastion host or two. ...


0

Check /home/user/www and /var/www/html owners Apache user\group must have access to /home, /home/user and /home/user/www paths Check Apache configuration: look for FollowSymLinks option <Directory /var/www/html> ... Options FollowSymLinks </Directory>


0

Apache2 has the concept of sites, which are separate configuration files that Apache2 will read. These are available in /etc/apache2/sites-available. By default, there is one site available called 000-default. This is what you will see when you browse to http://localhost or http://127.0.0.1. You can have many different site configurations available, and ...



Top 50 recent answers are included