Skip to main content

Questions tagged [virtualhost]

The term Virtual Host refers to the practice of running more than one web site (such as www.company1.com and www.company2.com) on a single machine. Virtual hosts can be "IP-based", meaning that you have a different IP address for every web site, or "name-based", meaning that you have multiple names running on each IP address. The fact that they are running on the same physical server is not apparent to the end user.

0 votes
0 answers
6 views

Apache2 use same DocumentRoot (Codebase) apart from different config.php file per VirtualHost

I have two Virtual Host on different ports. At the moment they have two separate DocumentRoot. BUT the DocumentRoot is actually the same (CodeBase) only the config.php file in it defines to which ...
andyk's user avatar
  • 3
0 votes
0 answers
34 views

Apache RewriteCond multiple ip not working

I have a problem with my .htaccess file which looks like this : <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteBase / RewriteRule ...
ss10's user avatar
  • 91
0 votes
0 answers
46 views

Why does my xampp server download index.php instead of accessing the local website? [duplicate]

I downloaded xampp on Linux Ubuntu 24.04 LTS I configured the vhost correctly I configured the Linux hosts file and also the httpd.conf file I adjusted the permissions of the htdocs folder but when I ...
user278003's user avatar
0 votes
0 answers
32 views

Apache2: Syntax error when enable virtualhost for reverse proxy

Trying to configure Apache2 as Reverse Proxy: At etc/apache2/sites-available I have the x.conf with this detail: <VirtualHost *:80> ServerName x.com ServerAlias x.com ...
eperezs's user avatar
  • 11
0 votes
0 answers
30 views

Simple Virtual Host in Wildfly does not work

I am running Wildfly v32 and I am trying to map multiple localhost domains to an app. I have put a simple "hello world" WAR app in standalone/deployments and I can access it using localhost:...
jdrew's user avatar
  • 15
0 votes
0 answers
13 views

Apache VirtualHost Configuration - Unexpected Authentication Prompt Outside Internal Network

Here is the configuration: I'm having an issue with my Apache VirtualHost configuration. I've set up pwauth for authentication and restricted access to a specific IP range (10.0.0.0/16) to make the ...
Hardy kilic's user avatar
0 votes
1 answer
136 views

symfony "fileperms() stat failed for" error

I work on an application with symfony and upgrade it from 5.4 version to 6.4. Since, i can't cache:clear without to get many errors : With cache:clear -vvv i get : 07:40:33 DEBUG [php] Warning: ...
juuk's user avatar
  • 19
0 votes
0 answers
21 views

xampp virtual host is not pointing to the site page, always redirecting to xampp dashboard

I've established a virtual host for my Wordpress website in XAMPP, every time I try to visit it, I'm automatically directed to the XAMPP dashboard page. I tried lot of things after google search. but ...
Minakshi Sharma's user avatar
0 votes
0 answers
31 views

How to get the name of the requesting virtual host

I live in Germany and have a website hosted by IONOS. IONOS anonymizes all IP addresses in the server log files for data protection reasons. The host-id is always 0. That's why I have my own script ...
andreL's user avatar
  • 1
1 vote
0 answers
23 views

Simplesamlphp installation no input file specified

I am installing simplesamlphp with php-fpm and apache on a redhat server. After the installation, I tring to go https://mywebsite.com/simplesaml I am being redirected to https://mywebsite.com/...
el sparrow's user avatar
0 votes
0 answers
4 views

How to push files from local to virtual server and download files from virtual server to local

How to push files from local to virtual server and download files from virtual server to local??? How to push files from local to virtual server and download files from virtual server to local. I want ...
DuwowngN's user avatar
0 votes
0 answers
23 views

two different virtualhosts on apache2 but always redirected towards the first one

So we're trying to setup a test environment and run two different apps on 2 different PHP versions using apache2 to test possibility and whatnot before deploying to production, steps taken are : 1-...
el alouchi mouhcine's user avatar
0 votes
0 answers
49 views

Pointing multiple domains to same server: LiteSpeed Web Server Enterprise

I'm wondering if someone can help me with this. I have tracking software running on a domain called app.tracking-domain.com. This is hosted on a self-managed LiteSpeed Web Server Enterprise; no ...
Akila Liyanage's user avatar
0 votes
0 answers
28 views

WWW and non-WWW HTTPS redirect

I have node.js app running on virtual host via openlitespeed and i have issues with redirecting. I decide to have example.eu as main. when i type http://example.com into URL it redirect to https://...
Křehy's user avatar
  • 1
1 vote
1 answer
117 views

Localhost Not Working After Creating Virtual Host in XAMPP

I created a virtual host for my project "phpiggy" using XAMPP for Apache and PHP. Here's the configuration I added to httpd-vhosts.conf: <VirtualHost *:80> DocumentRoot "C:/xampp/...
Garfield's user avatar

15 30 50 per page
1
2 3 4 5
208