# Installing LAMP website on FB domain's default Apache Homepage

**URL:** <https://discuss.freedombox.org/t/installing-lamp-website-on-fb-domains-default-apache-homepage/2384>\
**Category:** Support\
**Created:** [December 13, 2022, 6:12pm UTC](https://discuss.freedombox.org/t/installing-lamp-website-on-fb-domains-default-apache-homepage/2384 "2022-12-13T18:12:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![witty.zone](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/w/dfb087/32.png) [@witty.zone](https://discuss.freedombox.org/u/witty.zone)\
**Post date:** [December 13, 2022, 6:12pm UTC](https://discuss.freedombox.org/t/installing-lamp-website-on-fb-domains-default-apache-homepage/2384/1 "2022-12-13T18:12:55Z")

</div>

Hi, I have a configured FB with the Webserver Home Page on domain .com/plinth/sys/config set to Apache default. I am trying to install a manual install of Friendi.ca (LAMP Fediverse web app) on the same domain .com I use on my FB (hopefully Friendica and Mastodon will be packaged for Debian and become part of FB soon!). I am unable to make domain .com resolve to anything but the default Apache page.

1. placed Friendica come in /var/www/friendica
2. $ sudo nano /etc/apache2/sites-available/domain.com.conf (text below)
3. $ sudo a2dissite 000-default.conf
4. $ sudo a2ensite domain.com.conf
5. $ sudo systemctl reload apache2.service

> Use FreedomBoxTLSSiteMacro domain .com
> 
> \<VirtualHost \*:80\>  
> ServerName domain .com  
> ServerAlias www.domain .com  
> ServerAdmin webmaster@domain .com  
> DocumentRoot /var/www/friendica  
> DocumentIndex index.php
> 
> ```
> <Directory /var/www/friendica>
> Options -Indexes +FollowSymLinks
> AllowOverride All
> </Directory>
> 
> ErrorLog ${APACHE_LOG_DIR}/domain.com-error.log
> CustomLog ${APACHE_LOG_DIR}/domain.com-access.log combined
> 
> ```

**Expected Results**  
Pointing the browser to [https://domain](https://domain) .com, I expected to see Friendica installation page

**Actual results**  
I still see Apache’s default index.html even though 000-default is disabled. Deleting/moving /var/www/html/index.html gives an Error 404, so I am assuming 000-default is still taking precedence somehow, even after a reboot.

**Information**

- _FreedomBox version_: 22.26 (from Help → About page)
- _Hardware_: Protectli Vault 6, i7, 32GB RAM, 1TB root partition
- _How did you install FreedomBox?_: ‘apt install freedombox’ on a fresh Debian 11 Bullseye.
