0
votes
1answer
25 views

Setting up my vhosts file correctly in WAMPServer

I am trying to setup an mobile app that I have received from another dev locally on my machine, this is a cordova based mobile app that is basically html5/javascript etc.. I have added the following ...
0
votes
3answers
701 views

Apache 2.4 - 403 HTTP status code

I'm getting a 403 error message with Apache, in Debian Testing. Apache version: # aptitude show apache2 | grep -i version Version: 2.4.9-1 # ls -la /home/ total 28 drwxr-xr-x 4 root root ...
0
votes
1answer
110 views

Hosts file doesn't work with .com host names

My /etc/hosts file is configured as following: 127.0.0.1 localhost mysitea.local mysiteb.com www.mysiteb.com www.mysitea.local And I have my Apache virtual hosts setup accordingly: ...
1
vote
2answers
110 views

lamp - is this virtual host creation process correct?

I recently reinstalled ubuntu on my system and I cannot get virtual hosts to work properly. What I'm trying to accomplish is typing 'test' on my browser and pointing to my local machine on the ...
1
vote
0answers
193 views

Redirect incoming traffic for a domain to another local ip on same host

I have a server running Win 2008 R2, on that machine a run virtualbox where I run multiple ubuntu instances for webservers. I also have a router that redirects all traffic on port 80 to that machine. ...
0
votes
2answers
302 views

Configuring Apache 2.2 on localhost, getting “It works!”

I am trying to get Apache work and here is my configuration: System32/hosts: 127.0.0.1 localhost 127.0.0.1 rss.local httpd-vhosts.conf NameVirtualHost *:80 <Virtualhost *:80> ...
0
votes
1answer
1k views

Adding virtual hosts without restarting Apache?

I've got Apache 2.28, on Web-Developer Server Suite, PHP 5.38, MySQL latest version, and have got about 5 virtualhosts. This is my latest virtual host, which was a dynamic one: UseCanonicalName Off ...
2
votes
2answers
4k views

Howto use Apache virtualHost with etc/hosts

I'm trying to have http://www.mysite.com and http://test.mysite.com running on a production webserver, and now I'm doing some basic tests in local machine before transfering the datas on the ...
0
votes
1answer
226 views

Using BIND for virtual hosts?

I've created the following virtual hosts: <VirtualHost *:80> ServerName testingsitehere.com ServerAlias www.testingsitehere.com DocumentRoot ...
0
votes
1answer
180 views

Define hosts in Apache config instead of /etc/hosts?

Is it possible to configure a VirtualHost for Apache with custom hosts settings without modifying /etc/hosts? I want a VirtualHost to connect to a different host for testing then my live system. For ...