Questions tagged as 'virtualhost'

1
answer

Use Virtual Hosts from Apache2 with Vagrant

I have recently discovered Vagrant, and am using it. It is very functional, I defined an IP, installed apache, php and cia ... I am accessing the projects by host, via localhost: 8080 or by IP 192.168.33.0 But I want to be able to access t...
asked by 27.11.2014 / 18:58
1
answer

VirtualHost returning strange characters?

I need to access a virtual host of my machine, and a device Android (consume API ) When I access virtual host with the name I set in my hosts " link " file, I can receive the response from API normall...
asked by 03.05.2017 / 16:17
1
answer

Configure 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've seen here in the forum I've tried and did not succeed, I saw several and several videos on youtub...
asked by 10.02.2018 / 14:05
1
answer

Google Chrome Redirecting to HTTPS on localhost or virtual host

Good morning, everyone. Recently, I do not know if it was some 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 it is virtual such as www.equipe.c...
asked by 18.12.2017 / 12:20
3
answers

php file_exists function - relative and absolute path

In PHP applications, when I use absolute path, everything works perfectly, but when I use relative path, it does not work. An example: in my application I have to use this: file_exists("/var/www/html/meus_projetos/dgnetwork/public_html/mode...
asked by 31.10.2015 / 18:43
0
answers

virt-manager runing error on CentOS 7

I try to run virt-manager on a CentOS 7 desktop and get the following menssage: Traceback (most recent call last): File "/usr/share/virt-manager/virt-manager", line 35, in <module> from virtinst import util as util File "/usr/share/virt-...
asked by 19.10.2018 / 22:17
0
answers

VirtualHost AWS Ubuntu

Hello great linux ninjas. I'm working on AWS ec2 ubuntu, and I need to create a subdomain. I have seen some tutorials but none worked. I created a file in:    / etc / apache2 / sites-available / called admin.conf. In the file I put:...
asked by 31.07.2018 / 17:01
0
answers

Virtual Host Tomcat - Port / URL

I'm new to tomcat and stopped at two issues; 1) I have how to see which url is coming and through it to play within my example application link being in the server .xml the tomcat port is 8095 and not 80. 2) The application is a third pa...
asked by 26.07.2018 / 21:47
0
answers

How to configure Centos 7 to bind hostname to dynamic ip?

Hello. I'm new to linux and I need to know first if what I'm looking for is possible. The scenario is as follows, I have a notebook with windows 10 pro and in it I have a vm in hyper v with Centos 7. This vm was mounted using Vagrant. I am...
asked by 19.03.2018 / 11:57
0
answers

Error creating virtual host in Apache 2

How much do I try to create a virtual host in apache I can not access it I have already followed the following procedure: Go to C:\Windows\System32\drivers\etc\hosts and put 127.1.0.1 meusite.dev Go to C:\Apache\conf...
asked by 22.02.2018 / 13:50