0
votes
2answers
35 views

How to configure apache2 with symbolic links in /var/www/?

I want to setup a local web server on my Ubuntu (14.04). So I installed all software to get a LAMP server. The problem is that I do something wrong with creating my virtualhosts. I wanted to create ...
1
vote
1answer
95 views

Virtual host not working in Apache2 Ubuntu 14.04 after doing all steps

I am trying to make name based virtual hosts in Apache2 with Ubuntu 14.04, after doing all these step, I am redirected to localhost but not to the file on my virtual directory. What I already did; ...
0
votes
0answers
43 views

Ubutnu virtualhost Awstats setup

I have many virtual host in apache like /etc/apache2/sites-available/ example01.com.conf example02.com.conf example03.com.conf etc.. All above listed virtual hosts have there own apache access.log ...
1
vote
2answers
65 views

VirtualHosts not working properly

I am running Ubuntu Gnome 14.04, I apt-get installed apache2, php and mysql. From there, localhost was working fine, running from the /var/www/html/ directory. I created a new file, ...
0
votes
0answers
44 views

Multiple user webserver with apache and vsftpd

I am trying to setup a webserver with a multiple user environment. So I have all the websites inside my /var/www directory. But now I'm facing a problem with my ftp configuration. When a user logs ...
-1
votes
1answer
40 views

Apache2 VirtualHost going to default directory

I have a default virtual host conf file for apache2, and have copied it to mysite.com.conf and changed the NameServer and Directory. But when I go to mysite.com it stills shows the default directory ...
0
votes
0answers
12 views

Multiple hits being logged at virtual host setup

I have setup a local Virtual host following the instructions listed in DigitalOcean Tutorial I have Ubuntu 14.04 I have my application Logs enabled at the index page it self and also i have ...
0
votes
1answer
378 views

403 Error on Virtual Host on LAMP stack

I've installed lamp stack and trying to set it up using the instructions on https://help.ubuntu.com/community/ApacheMySQLPHP I want to be able to work in a directory other than "var/www/" so i ...
-1
votes
1answer
279 views

apache virtual host for nagios on ubuntu 14

I have just installed nagios on Ubuntu 14 LTS with Apache, i am accessing the site through example.com/nagios3, however i want to use a virtual host for access the nagios like nagios.example.com. what ...
0
votes
0answers
48 views

Virtual host, port 443 and ssl issue

I have a centos server, but I am having some issue regarding port 443 and ssl. my problem is that all domain on my server are accessible from HTTPS port. like when I visit a domain on my server from ...
0
votes
2answers
766 views

apache not including site config

I have added a config file to my /etc/apache2/sites-available and added a link to /etc/apache2/sites-enabled. Yet if I restart my server and check with apache2ctl -S, I only get the virtualhost from ...
0
votes
1answer
37 views

EC2 virtual server receives requests but can not access another host

Staff I have a virtual machine in Amazon AWS Ubuntu where I even installed Apache2, PHP5 and MySql. Everything was running well, well configured, my website running fine on it. Until suddenly ...
0
votes
0answers
21 views

Several Apache Questions

Okay, so I have several questions about Apache (2) How would I automate creation of virtual hosts. I want to put in a command that would add a virtual host, that would have the document root setting ...
4
votes
3answers
16k views

Why not work Apache virtual hosts on Ubuntu 14.04?

I was install Apache 2.4 on Ubuntu 14.04 and it work fine by http://localhost/ address. But when I try to add new virtual host, for example http://bow.loc and restart apache, new address not available ...
0
votes
1answer
78 views

Touble create Apache virtual host

I have 000-default.conf in /etc/apache2/sites-available. I want to create a new virtual host myserver. So I duplicate 000-default.conf and rename it 000-myserver.conf. Inside this file: ...
0
votes
1answer
66 views

Document root not exists?

I need some help figuring why apache tells me that my document root does not exists. My document root is /home/user/Documents/Git/site/index.html... It is there! My vhost looks like <VirtualHost ...
2
votes
1answer
113 views

Assistance with Apache Wildcard catchall

OS: Ubuntu 13.10 I followed this article Setting up a wildcard Apache virtual host + a wildcard DNS to set up a wildcard virtual host so I don't need to hack hosts files etc every time I set up a new ...
0
votes
2answers
3k views

How to enable mod_rewrite for virtual host

The mod_rewrite rule is not working on the virtual host. I have wanted this for cakephp. Is there setting to add in the virtual host file?
1
vote
1answer
3k views

Correctly setup apache virtual hosts with multiple users

Thanks in advance for any help you may provide. I've self taught myself using linux (ubuntu), apache, virtual hosts and a few bits with regards to security, though I've yet to put these all together ...
0
votes
1answer
25 views

Prevent listing hosted domain under IP

When I enter my public IP with one of my hosted domains, folders appear, such as public_html etc. It is ok, when I enter just www.domain.com, since I configured DocumentRoot directly to public_html. ...
0
votes
1answer
87 views

Is it possible to setup multiple Virtual Hosts with one ip/domain?

Is it possible to setup multiple Virtual Hosts with one ip/domain? We have a single domain (example.com) pointing to our server at ip (123.123.555.555). At location 123.123.555.555 we require the ...
1
vote
1answer
256 views

Setting up domains in a virtual machine running Apache

I'm runnning Ubuntu Server 12.04.3 LTS as host system. I created a virtual machine running Debian 7.2.0 and Apache 2.2 using VirtualBox 4.3.4. The network bridging between host and guest system was ...
0
votes
0answers
850 views

Resolving XAMPP Error 403 on Ubuntu While Setting VirtualHost

Okay, I give in. I need help before this thing drives me nuts. I run Apache 2.4.4 with XAMPP. I have an existing site that was working correctly on www.firstdoman.com before I configured virtualhost. ...
0
votes
1answer
115 views

Virtual Hosts on Ubuntu Server 12.04 Not Working

I know this has been asked a thousand times, and I have went through just about every solution, and I still can not get this to work. I'm trying to be able to get to example.com both internally and ...
0
votes
0answers
26 views

Ignoring namebased server configuration in apache2 with DNS

Apache used to work OK when I was using the local name resolution with /etc/hosts file. After setting up a DNS server on the machine, now eveything that resolves to this machine's IP address seems to ...
0
votes
1answer
1k views

13.10 Virtual Hosts file doesn't work

I already know of the main .conf problem with Ubuntu 13.10 and the change to Apache 2.4 for the suffix to site-available files. My problem is that when I enable "a2ensite xxxx" for "xxx.conf" in ...
0
votes
0answers
88 views

Accessing a domain on a local network

I have an Ubuntu Server and a couple of domain names. I can access the right sites on apache via my domains, but only from outside my home network. How can I get my domain to work from within my ...
23
votes
1answer
12k views

Apache virtualhosts no longer working after update to 13.10

I updated my kubuntu to 13.10 today and my virtualhosts that worked perfectly before are no longer working. the s2ensite and a2dissite commands claim "site xxxxxx does not exists" even the files are ...
1
vote
1answer
1k views

Add Apache2 Vhost at home

I just installed Apache2 on mint 15. I am able to see the localhost and so decided to add virtual hosts for my projects. I have added the hostnames at /etc/hosts 127.0.0.1 eclipse I also added ...
2
votes
1answer
2k views

How to have multiple sites using Apache2?

I would like to have 2 sites on my development machine. I edited /etc/hosts as follow 127.0.0.1 restaurant.local www.restaurant.local 127.0.0.1 lrv4.local www.lrv4.local I created ...
0
votes
1answer
4k views

Apache Server Virtual Host not working

I'm having trouble setting up Apache Server. I haven't turned anything off from the default install and I'm trying to enable the functionality for "Virtual Hosts." I would like Apache Server, which ...
0
votes
1answer
820 views

Having 2 websites under same IP apache2 configuration?

I know there is plenty of documentation about this, but my problem is different. I have 2 websites (subdomains) running on one apache2 server. Site 1 is working fine, site 2 is somehow linked to the ...
2
votes
0answers
1k views

VirtualHost In Localhost Is Not Accessible From Localhost When Offline, How To Fix It?

I am setting up my own local development web server, mainly for theme development. I've successfully setup LAMP in Ubuntu 13.04 64bit Desktop, apache works fine. The machine where LAMP is installed ...
0
votes
1answer
858 views

virtualhost problem

I used to add virtual hosts no problem in httpd.conf. Now with splitting up vhosts into separate files something's wrong: I could only get the first of the vhosts in sites-enabled to appear. ...
0
votes
1answer
150 views

Set up PHP and Django Virtualhosts on a single Apache2 Server

Here is the problem: I want to host several development projects in Zend, Drupal, and Django on a single Apache2 server. While I have had this working in the past, the method of getting it to work was ...
1
vote
2answers
203 views

Is possible to make virtual host in a NTFS partition?

I am using Ubuntu and Windows. When I use Windows, i can't access my file in var/www of my Linux partition. So I try to make virtual host and DirectoryRoot in my NTFS partition. I will combine WAMP ...
2
votes
2answers
1k views

Why dont ProxyPass work in Apache hardy box with virtual hosts?

I have an ubuntu hardy server used as a web server with Apache 2.2. I am trying to set it up with named virtual hosts, and in my /etc/apache2/apache2.conf file I have the following lines: ...
1
vote
2answers
11k views

Forbidden - You don't have permission to access / on this server

if I do it this way: it works DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www> Options Indexes ...
0
votes
1answer
542 views

12.10 403 Forbidden SymLink

I am trying to set up a simple development environment and even after setting all the permissions, I can't get past the 403 error <VirtualHost *:80> ServerAdmin webmaster@localhost ...
8
votes
3answers
25k views

How can I watch the current connections on my Apache webserver?

I am hosting quite a lot of virtual hosts using Apache in a basic LAMP set up with the help of Webmin/Virtualmin. I am looking for a top-like tool in which I can monitor current connections. The ...
0
votes
1answer
85 views

Virtual Host Configuration Problem

I have Ubuntu running with Apache2, my website shows in browser when www.example.com but doesn't show when example.com, my website is in /home/username/public_html/example.com/public. I used ...
0
votes
1answer
2k views

Symfony2 - Apache vhost for app_dev different port

As I'm using url rewriting to access my Symfony2 application, it is directly available from http://my_application.my_domain.net Now I'd like to be able to access the dev environment simply using a ...
2
votes
3answers
146 views

Best solution for a team home server

I created a home server with Ubuntu 12.04 Server (using an old Netbook with an Atom CPU and 512Mb). The idea is just to be used for a small team (maximum 10 persons) that will have constant access by ...
0
votes
1answer
2k views

Virtual Hosts Not Working (12.10)

I'm trying to get virtual hosts up and running on my Ubuntu laptop that has 12.10 installed. I'm running Apache2, and I enabled the virtual hosting module. When I go to 12.0.0.1, I'm able to get the ...
0
votes
1answer
623 views

my localhost/phpmyadmin is being directed to my site with .htaccess

I have a http://domain/ . The LAMP installation guide on the ubuntu site is incredibly easy to follow and I have only experienced my issue this one time... when I navigate to domain/phpmyadmin I'm ...
1
vote
1answer
434 views

Apache Virtual Host on ubuntu 12.04

I have been trying to setup virtual host on apache2. Most of the answers I have seen have been including steps which include uncommenting the include line in httpd.conf, but my httpd.conf file is ...
2
votes
2answers
8k views

Apache virtual host configuration error

I'm trying to configure Apache2 with Django and mod_wsgi on a virtual host. I wrote a simple configuration file: <VirtualHost: *.80> ServerName gpx ServerAlias gpx.gpsfte ...
7
votes
3answers
17k views

Setting up virtual host

I currently have all my websites as directories under /var/www. I would like to set up a virtual host http://foo/ that points to the /var/www/foo/foo directory (and still keep the default localhost ...
0
votes
1answer
607 views

SSL Virtualhosts not working upon reboot, unless Apache2 Manually restarted

I have a few SSL Virtualhosts and they work fine until I restart the box. Then all of the SSL virtualhosts point to the directory listed in default-ssl. If I restart Apache2 service manually ...
2
votes
1answer
3k views

Apache Virtualhost keeps pointing to default directory

I have been trying to set an Apache name based Virtual host(http://test.local) to the directory /var/www/test, but it keps on pointing to the default /var/www directory. My test.local configuration ...