All Questions

Tagged with
Filter by
Sorted by
Tagged with
3 votes
1 answer
1k views

Ubuntu Apache Subdomain not Displaying

Using Ubuntu 18.04 I have my main website www.example.com, all the files are hosted in /var/www/html/ and it works as expected. I would now like to make a new website in a subdomain www.blog.example....
TheOrdinaryGeek's user avatar
1 vote
1 answer
3k views

Apache: No matching DirectoryIndex

I'm newbie in apache, i have the following directory structure: html |-- moodle |-- singapur |-- app |-- public |-- js |-- css |-- img |...
ignacio.saravia's user avatar
0 votes
1 answer
25 views

In Apache/local, how can I support both directory access and named-host access?

I understand how to use Directory and (I think) VirtualHost directives. I further understand that I can't mix them (although I can nest them). When I mix them I get 404 not found for the Directory-...
David Spector's user avatar
-1 votes
4 answers
18k views

How to set up apache virtualhosts serving different directories?

On my Ubuntu 16.04 system, I want to set up several websites that are served from several directories, that is, same domain, same port, same IP address. However, I don't know how to specify them. All ...
Tobias's user avatar
  • 11
2 votes
0 answers
2k views

Automatically mapping subdomains to directories with Apache 2.4?

I manage a lot of projects on my personal development server. I just upgraded Apache and accidentally reset the configuration files in the process, so I thought this was a good opportunity to optimize ...
Allenph's user avatar
  • 135
0 votes
1 answer
2k views

Apache Aliased Directory doesn't work for child directories of alias

I'm trying to run two different applications under user. Application 1: /home/user/public_html/app/public/ Application 2: /home/user/public_html/forum/ VirtualHost has the Server set to the ...
acupofjose's user avatar
0 votes
1 answer
659 views

DirectoryIndex in Subfolder/New project with virtualhosts and SSL, same domain

I have som problems with setting up a new project in apache. I have an old project in sub.domain.com/api/something.php, but am trying to add a new project (symfony) that requires a DirectoryIndex, sub....
Richard87's user avatar
  • 250
1 vote
1 answer
1k views

Apache Server - Subdirectory on different server [closed]

You have 2 different servers with different IP Addresses. Both servers are Apache based. Server A: already hosts a website (http://example.com) Server B: would host a WordPress website to be in a ...
Danny Boy's user avatar
2 votes
1 answer
16k views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
humungs's user avatar
  • 265
0 votes
2 answers
106 views

Apache virtual hosts, aliasing, and directories

If you have an Apache running at somewhere.net, and you have a number of virtual hosts as well (a.somewhere.net, b.somewhere.net), you can access directories on the main branch while you are on the ...
MirroredFate's user avatar
-1 votes
1 answer
169 views

Directory theme of apache

I have a server with a web site. My document root is /var/www. My configuration: <VirtualHost *:80> Servername www.eeeeeb.fr ServerAdmin [email protected] DocumentRoot /...
user185891's user avatar
1 vote
1 answer
54 views

How to setup usernames for websites

I have a news server. It may be possible that there will be multiple virtual hosts on it. There are two approaches that I see around. One is to login as root and create files under /www/etc, Like; /...
Sinan's user avatar
  • 191
2 votes
1 answer
137 views

Apache issue with VirtualHosts

I am setting up a small website in-place on the production server. While we are finalizing all the settings for the final domain we've located it on dev.domain.com, so that our visitors don't see a ...
Karlinde's user avatar
0 votes
1 answer
682 views

VirtualHost for subfolder only in Apache

I have an Apache2 server. Most of my sites use PHP. One uses Ruby on Rails. So I want passenger in one subfolder. How can I tell Apache to make a virtual host in just one subfolder for passenger? I'...
MrB's user avatar
  • 1
9 votes
1 answer
7k views

Directory inside or outside VirtualHosts?

Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
Pablo Fernandez's user avatar
0 votes
2 answers
6k views

How to add another application to apache?

I was following the Zabbix installation tutorial for Ubuntu and it requested that I added a file /etc/apache2/sites-enabled/000-default containing Alias /zabbix /home/zabbix/public_html/ <...
Jader Dias's user avatar
  • 4,735
0 votes
1 answer
108 views

Apache vhosts configuration for non-persistent folders

OK, the title may be a bit confuse. I have a TrueCrypt container that gets mounted as a new drive X: on my Windows machine. Now I want my local testing Apache to deliver files from there via http://x....
Boldewyn's user avatar
  • 239