Questions tagged [virtual-host]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
35 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
0answers
22 views

Permalinks are not working in Wordpress [migrated]

I deployed My Wordpress Blog in one of my subdomains in Digital Ocean. I am running apache2 as my webserver. .htaccess file related to my WordPress installation: # BEGIN WordPress <IfModule ...
0
votes
1answer
23 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
24 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
53 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
12 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
54 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
21 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
55 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
172 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 ...
0
votes
0answers
20 views

Launch vhost with Nginx with Docker on Windows

I'm currently trying to follow this docker tutorial => http://geekyplatypus.com/dockerise-your-php-application-with-nginx-and-php7-fpm/ And while i do succesfully access the nginx server in my docker ...
-1
votes
1answer
131 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
0answers
55 views

How to access multiple websites from server on virtualbox to the host machine?

I am trying to access multiple websites that I have on my virtual-box server setup(Ubuntu 18.04.2) to my host machine(Ubuntu 19.04). the websites works fine in the virtual environment but when I try ...
0
votes
0answers
58 views

Virtual host is not working on different port always redirecting to default port : using AWS Linux AMI 2

Issue: www.example-one.com assigned to port 8096 and virtual host is configured according to it but on hitting, it gives warning: 301 moved permanent and redirecting to website www.example-two.com ...
0
votes
0answers
39 views

MAMP virtualhost pointing to localhost

I have followed this tutorial : https://www.taniarascia.com/setting-up-virtual-hosts/ I have followed with success point 1 and 2 I set localhost:8888 root to /Application/MAMP/htdocs which I can ...
0
votes
0answers
20 views

Local website not accesible, gets redirected to WAMP home. Trouble with virtualhost

I had some trouble with my WampServer, so I did a fresh install. Now I can't seem to acces my local website anymore. To the host file located at C:\Windows\System32\drivers\etc I've added 127.0.0.1 ...
0
votes
1answer
84 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 ...
0
votes
0answers
35 views

Apache2's mod_rewrite enabled and allowed, but not working

I have a website running on a machine for several months. I need to deploy it on a new machine, so I am doing all the configuration, including the one of Apache2. Since I am using Slim framework . I ...
-1
votes
1answer
162 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
324 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
0answers
37 views

Need ideas for Dynamic Virtualhost / Docroot

What is the best way to configure one virtualhost with a wildcard ServerAlias e.g *.domain.com to point each sub domain to its corresponding docroot, based on database table that stores subdomains ...
0
votes
1answer
37 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
0answers
22 views

I upgraded a Ubuntu 16.04 to 18.04, weeks later Apache2 stopped working after an update

I am wondering what might have gone wrong and how to fix it. I upgraded Ubuntu from 16 to 18 on September 20th, 2018. I ended up having to re-install PHP at the time to allow proper function, but ...
0
votes
1answer
90 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
85 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
40 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
473 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
150 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
44 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
627 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
2k 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
84 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
559 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
6k 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
78 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
550 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
509 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
627 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
655 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
63 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
590 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
638 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
515 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
286 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
530 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/...
0
votes
1answer
327 views

How to copy between guest OS (Windows 7) running inside Oracle virtual machine 5.0 to host OS (CentOS Release 4.0 final)

Need help to resolve copy and paste bidirectional from guest OS (Windows 7) and host OS (CentOS Release 4.0 final) or from host OS to guest OS I applied tick mark to bidirectional Drag-n-Drop and ...