Tag Info

New answers tagged

1

The Wildcard SSL certificate can secure only single level subdomains. If you have wildcard SSL that issued for *.mycompany.com, then it will secure mycompany.com and its all sub domains. If your requirement is securing second level sub domains, so you should create CSR for *.internal.mycompany.com (with this condition, mycompany.com will get a domain name ...


4

You have set your DocumentRoot to /var/www/internet/movil/ but you point the directory to /. Change it to say <Directory /var/www/internet/movil> Also mind to remove the trailing slashes in the paths. The entire vhost would look like this: <VirtualHost *:80> ServerAdmin webmaster@mores.es ServerName m.mores.es DocumentRoot ...


0

If you happen to have SELinux enabled, that could be your culprit. sudo vim /var/log/audit/audit.log or sudo tail -f /var/log/audit/audit.log and sudo ls -Z /var/www/internet/movil/ With semanage fcontext you can then rectify this.


0

Both are working for me correctly ServerAdmin webmaster@localhost ServerName puppetmaster.matrix.nx DocumentRoot /var/www/html Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride All ...


0

Try using NameVirtualHost *:80 on the top of the virtual host config.


0

You can get rid of the web context using a rewrite rule: ProxyRequests Off ProxyPreserveHost On ProxyPass / http://127.0.0.1:32400/ ProxyPassReverse / http://127.0.0.1:32400/ RewriteEngine on RewriteCond %{REQUEST_URI} !^/web RewriteCond %{HTTP:X-Plex-Device} ^$ RewriteRule ^/$ /web/$1 [R,L] Note the rewrite conditions in the second section. FYI, I got ...


0

Here is the altered solution: Add a DNAT rule to redirect all traffic from 80 to 32400. iptables -t nat -I PREROUTING -p tcp -d X.X.X.X--dport 80 -J DNAT --to-destination X.X.X.X:32400 So it would look something like this: sudo iptables -t nat -I PREROUTING -p tcp -d 192.168.1.1 --dport 80 -j DNAT --to-destination 192.168.1.1:32400 Remember your ...


0

Yes, you can do this, you'd just need to set up your current hosting to listen for subdomain.domain-name.com, and then set up an (A) or (CNAME) record in the DNS control panel for domain-name.com which points to the IP address assigned by your current host. If you're setting it up as an (A) record, be wary that in the future if your current host changes IP ...


-2

First, you will have to setup LAMP on your VPS. LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Once LAMP is setup, you will have to setup Apache virtual hosts to host multiple websites on single IP address.There is no limit to the number of virtual hosts that can ...



Top 50 recent answers are included