Most voted "virtualhost" questions
The Virtual Host concept applies both the practice of creating (virtualization) several machines with an equivalent operating system or distinct from the host (machines that provide the service), as well as server applications (Database, HTTP Servers, FTP Servers, among others) that meets requests for different domains and network addresses (IP), thus allowing the machine (Host) to appear to be multiple machines
Learn more…37 questions
Sort by count of
-
6
votes4
answers2249
viewsCreate Virtualhost on port 81
I have two apaches installed for two versions of PHP (5 and 7), on port 80 and 81 respectively. I would like to create virtualhost for apache port 81 In the host file there is this line: Host…
-
4
votes1
answer196
viewsWhat is the right way to use DNS wildcard?
I need my server’s Apache virtualhost to meet the following rule: 1- If it’s.com or www.domain.com, then display the content in /var/www/domain.com/home 2- If for blog.domain.com, then display the…
-
3
votes1
answer77
viewsHow to configure Fuelphp in Ubuntu 16?
I need to "clone" a Fuelphp application, which runs on Lamp (linux) on the company server. All went well and smooth in the first attempt, which was made in the customer’s local machine. Already this…
-
2
votes0
answers221
viewsHow to configure Apache via command line?
I wonder if it is possible to configure Apache using command line (Terminal). So far, the most I can do is to run the command apachectl -S which gives me the settings, but this value returned is not…
-
2
votes0
answers1878
viewsConfigure Laravel Virtual Host in Ubuntu
When I access a project that does not use Lockable, it works normal, but when some access uses, does not load anything and shows an empty screen. Its configuration has to be different from the…
-
2
votes1
answer2141
viewsHost website in Aravel
I have a project in Laravel. When I put my files to my hosting server and access the domain, it shows me the files and folders instead of redirecting me to the index. On my machine I create a…
-
2
votes2
answers133
viewsHow to set a variable in the configuration of a Virtual Host, to avoid repetition?
I always get upset when I see that my virtualhost ends up being configured this way: <VirtualHost :80> ServerName meusite.local ServerAlias www.meusite.local DocumentRoot…
-
1
votes1
answer199
viewsUsing Apache2 Virtual Hosts with Vagrant
I discovered Vagrant recently, and am using it. It is well functional, set an IP, installed apache, php and cia... I’m accessing the projects via the host, via localhost:8080 or IP 192.168.33.0 But…
-
1
votes1
answer1377
viewsRedirect Subdomain to another server
I’m using the cPanel and I can redirect the domain exemplo.dominio.com.br to another server using record A and IP of the new server, but how do I make this subdomain accessible also using www or…
-
1
votes1
answer665
viewsNumber of processors in Hyper-V
I have a virtualized Windows Server 2003 server with Hyper-V. I set the option "logic processor numbers" to 4. On Windows, it appears on the 4 Cpus device management list. But in Windows task…
-
1
votes1
answer766
viewsHow to configure the host file to direct to the server of a "virtual box" virtual machine?
I have a virtual machine windows 7 using virtual box. Inside this machine I have a study project. Inside this machine I access this project through the url "lara/", configured in Routes. I would…
-
1
votes1
answer47
viewsVirtualhost configuration
I have a question in the configuration of VirtualHost, I have an application that has redirect to multiple cores ex: meusite.com.br/app/go meusite.com.br/app/rj When access meusite.com.br/app, it…
-
1
votes1
answer664
viewsHow to resolve XAMMP virtual host "Access Forbidden!" error in MAC OS Sierra 10.12.6?
I just installed a version of XAMPP xampp-osx-5.5.38-3-installer.dmg. Then I followed the instructions to set a virtual host. I activated Include etc/extra/httpd-vhosts.conf and created 127.0.0.1…
-
1
votes2
answers161
viewsI can’t work with Uri(routes) using virtual hosts
I created a virtual host using apache, the problem is that I can access the site on my "localhost" as follows: site.com To access my site on localhost in this way I did the following in the file…
-
1
votes1
answer357
viewsHow to use the "php_admin_value" flag in virtualhost via PHP-FPM on a specific Virtual Host?
I decided to replace Apache2handler with PHP-FPM on my server. After this change, I tried running sudo apache2ctl configtest and I got the following mistake: AH00526: Syntax error on line 53 of…
-
1
votes0
answers454
viewsProblems with . htaccess when hiding public folder
I need to deploy for production of an application that I migrated to Aravel 5.4, in test environment I am using the virtual host in windows where I type in the url 'meusite1' and until then beauty.…
-
1
votes0
answers223
viewshow to connect VM with mysql on another VM with PHP/Apache?
Good evening, people. I am developing a php/mysql system to improve my knowledge in the area. Knowing this, I now need to simulate a server, doing the following steps: 1° Create three virtual…
-
1
votes1
answer356
viewsConfigure virtual host on Ubuntu
I’m trying to set up the virtual host on my Deepin OS and nothing I did works. Before you mark the question as duplicate, all the alternatives I saw here on the forum I tried and did not succeed, I…
-
1
votes0
answers300
viewsError creating virtual host in Apache 2
When I try to create a virtual host in apache I can’t access it I’ve followed the following procedure: Go to the C:\Windows\System32\drivers\etc\hosts and put the 127.1.0.1 meusite.dev Go to the…
-
0
votes3
answers785
viewsfile_exists php function - relative and absolute path
In PHP applications, when I use absolute path, everything works perfectly, but when I use relative path, it doesn’t work. An example: in my application I have to use this:…
-
0
votes1
answer92
viewsCould not read from remote Repository
I created a BARE repository in the folder: c://projetos/cliente1 this in the VMBOX ORACLE that is called (vmserver) then when time access from real pc, returns the following message: $ git clone…
-
0
votes1
answer1419
viewsGoogle Chrome Redirecting to HTTPS on localhost or virtual host
Good morning to all. Recently, I do not know if it was a google update, their browser started to make a strange redirect. I have apache server and when I enter a url configured in localhost, even if…
-
0
votes1
answer556
viewsAll Apache requests pointing to the same directory
I set up a Vhost for my project as follows: 1 - I added a line to the file /etc/hosts containing local address, url and alias 127.0.0.1 meuprojeto.com meuprojeto 2 - I added the file meuprojeto.conf…
-
0
votes0
answers156
viewsMysqltuner Help with analysis
I have no knowledge in mysql, and it was very difficult to understand the diagnosis of Tuner. My problem is that when the site gets too many visits, the connection to the bank drops. I’m using a…
-
0
votes0
answers631
viewsError 404 - Not Found
Good afternoon, I am doing a project where I have installed php7, mysql, apache2 in a virtualbox with ubuntu16.04. I’m working locally and I’ve installed the 5.3 Laravel. I have an api already made…
-
0
votes1
answer40
viewsVirtualhost returning strange characters?
I need to access a virtual host of my machine, and of a device Android (consume a API) When access the virtual host with the name I defined in my hosts "http://api.xpto/usuarios", I can receive the…
-
0
votes1
answer389
viewsSlow page loading locally after configuring virtual hosts
Greetings, I’m having problems loading pages on my local server. This problem happened after I set up 3 virtual hosts and when I try to load my page through it, it takes A LOT to load. Could someone…
-
0
votes2
answers72
viewsHow to assemble a basic Virtualhost to rewrite Urls in my Xampp htdocs project
Following the model proposed in the file itself httpd-vhosts.conf <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "C:/xampp/htdocs/dummy-host.example.com"…
-
0
votes1
answer213
viewsSet port automatically Docker
I’m using Docker to develop my web applications, but I realized I need to run several projects at the same time on my machine. Since these projects basically need the same containers, which are…
-
0
votes0
answers213
viewsWampserver acknowledging warning (Warning) with virtual host
I created a virtual host in the Wampserver, localhost does not display any notice on console, but with another(s) virtual host is charged with the following notice: This page includes a password or…
-
0
votes0
answers24
viewsHow to configure vhost in windows with xampp using a port other than 80?
Does anyone know how to set up vhost in windows with xampp using a port other than 80?! I’m having trouble configuring the host to implement a PHP application. My file httpd.conf is already with…
-
-1
votes1
answer305
viewsTwo domains pointed to the same instance ec2
I have two domains, abc.com.br and Xyz.com.br. I am pointing both to the same instance ec2 on Amazon. I have two php (wordpress) applications within this instance, one that is in /var/www/html and…
-
-1
votes1
answer1389
viewswamp error via network
Good night. I installed a web system on a machine where I have installed Wamp 3.1.0, but when I try to access it through another machine connected to the same network I come across the following…
-
-1
votes1
answer70
viewsVirtualhost AWS Ubuntu
Hello big linux ninjas. I’m working on the AWS ec2 Ubuntu, and I need to create a subdomain. I saw some tutorials but none worked. I created a file on: /etc/apache2/sites-available/ called…
-
-2
votes2
answers1503
viewsFacebook Login localhost
Ajax Facebook Connect with jQuery & PHP I can’t run Facebook on the local machine. I want to implement Login with Facebook on my site more I would like to test locally above this login I am…
-
-2
votes1
answer69
views"/" Site root in PHP
Friends sorry if I’m repeating any questions here, but I searched and did not specifically find my problem, so let’s go. I took a course in videaula, and created a PHP site in which, on my machine…
-
-3
votes1
answer48
viewsHow to map Xdebug in Vscode to a vhost?
I have a project that’s coming from the SD Card: /Volumes/SDCARD/sd_projects/sistema-news/sistema-news-web/ Xdebug works when I have a file at the root of the localhost directory:…