Questions tagged [virtual-host]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

How to host a site using apache2 on Ubuntu 20.04 with ip_adress/phpmyadmin accessible

I have a VPS setup with Ubuntu 20.04 and LAMP installed. I could access phpmyadmin then via <ip_address>/phpmyadmin. Later I enabled a virtualhost at /etc/apache2/sites-available/ by adding ....
0
votes
0answers
31 views

Apache VirtualHost for subdomain redirects to mainpage

I am trying to setup a VirtualHost for a subdomain (sub) of my main domain (mysite.com). Opening mysite.com in a browser works as expected, but whenever I try to access sub.mysite.com I see the index ...
0
votes
1answer
22 views

Can't acccess Apache using ServerName

I'm running a local Apache server with no access outside my network. I want to be able to navigate to sites by the server name. For example, where hostname is my server's hostname and home.lan is my ...
0
votes
0answers
5 views

How to redirect/proxy some ports to different server (Apache2)

I have two servers with Apache2 installed: Server 1: Running Apache2 on ports 80 and 443, virtualhost foo.example.com Server 2: Running Apache2 on ports 80 and 443 and another server on port 25565 I ...
1
vote
1answer
65 views

Wrong https redirection with two websites on the same server

I have two websites, call them example-1.com and example-2.com deployed on the same server (CentOS 7.5) both served by apache at port 80. The redirection is performed with Virtual hosts (see below for ...
0
votes
1answer
47 views

Execute php on Apache inside Ubuntu

I installed Ubuntu on VMWare (OS X) and followed the instructions to install LAMP on Ubuntu I also created a virtual host named 'cmsms23'. So the folder structure is: /var/www/cmsms23 I made the ...
0
votes
0answers
110 views

Why Virtual Host redirects me to the localhost?

I'm trying to redirect a laravel website on localhost using virtual hosting. This is the code: <VirtualHost *:80> DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs" ServerName ...
0
votes
0answers
16 views

Create virtual host automatically by folder name Ubuntu 18.04.3 LTS

How to Create virtual host automatically by folder name in Ubuntu 18.04.3 LTS Like my folder name test and i need to create test.local host automatically
2
votes
0answers
26 views

Only local machine is allowed to connect to virtual hosts

I have a server with Ubuntu installed, and for no reason, my virtual hosts decided that they only want connections from the local machine. I can go onto my different sites with their regular domains ...
0
votes
0answers
48 views

Is it possible to have in Apache 2.4 different NamedVirtualHost, each with its own SSLProtocol ? I am using SSLStrictSNIVHostCheck

I have defined in ssl.conf SSLStrictSNIVHostCheck On Now, I have defined a series of virtual hosts and I would like to define specific SSLProtocol for each one, such as <VirtualHost *:443> ...
1
vote
1answer
187 views

How to host 2 different sites on WAMP server and access them both via the internet?

I can only access my website from another PC if I use the PC/WAMP server hosting the website IP in the url address. This becomes inconvenient since I need to host two different website using the same ...
0
votes
1answer
26 views

Can be cgi execution be conditioned to ServerName?

I configured several VirtualHost entries. <VirtualHost *:80> ServerName subdomain1.domain.tld [...] DocumentRoot /var/www/html/subdomain1 [...] </VirtualHost&...
0
votes
0answers
58 views

Apache2 - Virtual host site1 redirects to site2

I've set up three different websites with Apache2 2.4.25 on Debian 9 (stretch) using virtual hosts, each one with their own domain and Let's Encrypt SSL certificate. For this question they will be www....
0
votes
1answer
1k views

DNS wildcard subdomain configuration on Windows 10

I run a WAMP server on Windows 10, and tried to install a Wordpress multisite network on localhost using subdomains. The main domain defined in VirtualHost works and points to a localhost folder. But ...
0
votes
1answer
14 views

Changing URL and VirtualHost of Wordpress site

I'll try to explain my situation. I have 2 domains: www.impiantisaettasnc.it www.oasisgaming.it and I want them to point on 2 different sites hosted on my VPS at x.x.x.x address. So I went on my ...
0
votes
1answer
57 views

How to create a VirtualHost on Apache and “import” sites I already made?

I learnt I have to use Apache's VirtualHosts to correctly point different domains to different sites on my server. Before I knew this, I already made 2 different wordpress sites, and they are in ...
0
votes
0answers
50 views

How To Create Dynamic VirtualHosts on Ubuntu 18 using wildcards?

I'm trying to create a dynamic virtual host for my development environment. I wish to be able to create a directory within the "/var/www/" and that it automatically has a virtual host. The whole idea ...
0
votes
0answers
93 views

Guest keyboard shortcuts not working on VirtualBox

I'm running an Ubuntu guest on VirtualBox (hosted on a Linux distribution), and both the host and the guest system are running Gnome. The problem is that when the guest OS is focused, or in fullscreen ...
0
votes
1answer
2k views

Nginx Redirect to Docker Container

I made my personal server SSL encrypted, so that only port 443 is accessible to the outside world. However, in doing so, I locked my web apps from seeing the outside world. The gist of it is that I ...
-1
votes
1answer
247 views

Problems with Apache Virtual Host on Linux MInt 19

Well, I'm trying to make this work on the past three days ago. So I think a little help from the forum will be necessary by now. Initially, I followed this tutorial, and it worked, but I was unable to ...
0
votes
1answer
142 views

Setting up Apache portable VirtualDocumentRoot under Windows 10

I have the following code in XAMPP's httpd-vhosts.conf: <Directory "/dev/www/"> Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All # Require all granted ...
-1
votes
1answer
171 views

Apache2 - Configure two websites, one with ip/port, one with domain

I am hosting two websites on a Raspberry Pi Apache2 server. One website has a domain name, while the second site doesn't. I want to access the second one with the server IP on same port but without a ...
0
votes
1answer
798 views

apache virtual host subdomain not working correctly

I am trying to configure a subdomain: api.example.com (exapmle.com is replaced by my actual domain name) I already had virtual hosts set up with 2 sites: example.com and example.nl they both had ...
0
votes
1answer
46 views

Access to VirtualHosts from the local network

I have a Ubuntu Server 18.04 over VirtualBox VM where I've installed Apache and Nginx for some testing. The VirtualServer example.com up and running on the local machine. That VM is configured with 2 ...
0
votes
1answer
394 views

Is editing “hosts” file in Windows necessary to host Apache Virtual Hosts?

I'm learning how to host websites on a small server at home. I followed some tutorials where they said you had to edit the "hosts" file (C:\Windows\System32\drivers\etc\hosts) and add the following: ...
0
votes
1answer
234 views

Apache Virtual Host Mix IP and domain names

I have a case where there's a VPS running on Apache Server on main www folder, No vhosts. Now I need to host some vhosts but I need to access this specific web app from main IP address. The Other ...
0
votes
1answer
42 views

How to set up a http website and a https website on single-ip server in Apache?

I want to set up a http website:http://example1.com, and a https website:https://example2.com using the following configuration: Listen 80 Listen 443 NameVirtualHost *:80 NameVirtualHost *:443 <...
0
votes
2answers
570 views

apache default virtualhost does not work

I set up two websites on my vps: one is http site example2.com, the other is https site example1.com: Listen 80 Listen 443 <virtualhost *:443> ServerName example1.com DocumentRoot "/var/www/...
2
votes
1answer
204 views

Apache forward proxy incompatible with many virtual hosts

I have a Raspberry Pi running Arch Linux ARM that I use as an HTTP server, with Apache/2.4.29 (Unix). Recently, I have been trying to configure this machine as a forward proxy in order to use ...
1
vote
1answer
45 views

Apache - Multi SSL certs voiding each other

I have on one of our servers two SSL certs running for two projects, one of which is a wildcard SSL issued to that domain only, which I'll call domain2.com. domain1.com, the other domain has the ...
1
vote
2answers
826 views

Configure apache vhost running multiple servers

I want to run a Python 3.* and PHP 7.* server running right next to each other using the following: php.localhost py.localhost My /etc/httpd/conf/httpd.conf: # Dynamic Shared Object (DSO) Support ...
0
votes
1answer
2k views

Virtual host domains other than .local not working in Chrome

I have virtual host example.dev in my WAMP. I was able to run it in Chrome and Firefox by browsing http://example.dev. In a couple days back, I can no longer run it in Chrome, it keeps redirecting ...
0
votes
1answer
3k views

How to make multiple virtualhost in docker with php5.6-apache container?

I am trying to create virtual host in container php5.6-apache but when I try to run the command a2ensite. my host_1 file: <VirtualHost *:80> ServerName local.website1.dev DocumentRoot /var/...
0
votes
1answer
88 views

I can not make virtual host work

I am a Linux newbiew and web developer. I am configuring a Virtual Server running Raspbian on a Raspberry PI. I readed a lot of documentation and investigate without results. I have a lot configured ...
1
vote
1answer
685 views

Default Apache config is not matching unmatched requests

Environment Ubuntu 16.04 / Apache 2.4.18 Problem One of my Apache configs is matching every request, regardless of whether the ServerName matches. Even different domains are matching, not just ...
2
votes
1answer
8k views

kvm Error starting domain: unsupported configuration: Unable to find security driver for model selinux

Trying to start our kvm virtual machines and getting this error after rebooting the physical host machine. Error starting domain: unsupported configuration: Unable to find security driver for model ...
1
vote
0answers
87 views

Correct VirtualDocumentRoot directive

What should be the correct value for the VirtualDocumentRoot directive if I have the following folder structure: /example.com/ /example.co.uk/ and wanted to be able to access it using either example....
1
vote
0answers
1k views

Should I enable SR-IOV and/or ASPM in bios, on my ESXi server?

Relevant server setup is a SuperMicro X10SRi-F with the VM store via iSCSI LUN (not internal disks). I'm running desktop VMs (among others), so I have an nVidia Quadro 6000 + ESXi 5.5, the latest that ...
0
votes
1answer
617 views

Setting Up VPS / Dedicated Servers for a Small Business [closed]

Okay I'm trying to setup a couple VPS, and a few dedicated servers for some clients. And would like to know the best way to go about it, the servers will be running Ubuntu server. First question: Can ...
2
votes
0answers
533 views

How to activate RemoteFX on WIN7 Guest Hyper-V on WIN10 Host?

Have Win7 Pro gen1 Hyper-V, all updates, RemoteFX added with 512Mb, SLAT Vt-x etc. OK AMD r9 280x 3GB videocard, Remote FX works on Win10 Guest but only with 512MB max, not working w 1GB video RAM. ...
-1
votes
1answer
760 views

Configuring Apache virtual hosts to run several websites on the same IP address

I have set up Apache Web server on my machine. And trying to serve 2 sites for the same IP, based on the domain’s name. I have 2 domains: example0.com example1.com They redirect to the same ip ...
1
vote
1answer
2k views

Why are localhost requests to an Apache virtual host running locally so slow?

I have my Windows 7 localhost server configured with my main localhost address and a couple of virtual hosts configured to serve cookie-less images and JavaScript (I also have a few other virtual ...
0
votes
1answer
858 views

Conditional /etc/hosts file

I am trying to add conditions based on ip accessing to localhost on windows 10: /etc/hosts if (ip == '192.168.0.102') 127.0.0.1 www.site.co.uk site.co.uk else #127.0.0.1 www.site.co.uk site.co....
0
votes
1answer
76 views

Can't access virtualhosts on Centos/apache

I'm running a CentOS 6.8 server using VMWare Fusion and I've got my Apache up and running, though I'm unable to access any virtual hosts. I followed this walkthrough (https://www.digitalocean.com/...
0
votes
0answers
637 views

VSFTPD Virtual Hosts

as far as i know, FTP supports HOST header for some time. So what i want to do is, run vsftp (can run multiple instances if need be) with different hostnames which point to different folders. One ...
0
votes
1answer
690 views

macOS Sierra Virtual-host not working

About a month ago I updated my Macbook Pro from El capitan to Sierra. From that moment my mysql and apache wound't work anymore. I managed to fix those two (mysql only works now with sudo mysql....
0
votes
1answer
572 views

DD-wrt DNSMasq and Apache virtual hosts

I have changed my LinkSys wrt54g router's firmware to DD-WRT v24-sp2 (07/22/09) micro. I'm trying to make local dns on the router to allow all machines on my LAN to be able to access my computer's ...
0
votes
1answer
1k views

Can AMPPS run a virtual host with different ports on the same IP?

I want to have two different directories, opened from the same IP, but different ports. I can't find a way to do this, I have tried many different forums, and Google, but still found nothing. Can I ...
2
votes
1answer
352 views

How to access expired domain host from old DNS record?

I'm trying to access a website whose domain has just expired. The old IP address resolves to 206.225.92.33 which is the parent hosting company and not a dedicated address. The domain name was ...
0
votes
1answer
635 views

detect host machine cpu type

Support I'm running a VMWARE virtual machine (Called Machine A) on a host server which we call it B. I want to know are there any methods that applications/users inside A (the VM) can detect CPU type/...