When a reseller adds a domain all others stop working...

When a newly added reseller adds a domain all others stop working with the below error

Forbidden You don't have permission to access / on this server. Apache/2.4.29 (Ubuntu) Server at hflink.net Port 80

Please advise

//Johan

Status: 
Closed (fixed)

Comments

Before

Last login: Mon Dec 17 09:59:36 2018 from 85.117.160.196 root@ns ~ # grep -i '<virtualhost' /etc/apache2/sites-enabled/*.conf /etc/apache2/sites-enabled/000-default.conf: /etc/apache2/sites-enabled/aprs.se.conf: /etc/apache2/sites-enabled/boavideoproduktion.info.conf: /etc/apache2/sites-enabled/boavideoproduktion.info.conf: /etc/apache2/sites-enabled/brandmeister.se.conf: /etc/apache2/sites-enabled/d-star.se.conf: /etc/apache2/sites-enabled/gnulabs.se.conf: /etc/apache2/sites-enabled/ham-dmr.se.conf: /etc/apache2/sites-enabled/hamring.com.conf: /etc/apache2/sites-enabled/hamring.com.conf: /etc/apache2/sites-enabled/hamshop.se.conf: /etc/apache2/sites-enabled/hflink.com.conf: /etc/apache2/sites-enabled/hflink.net.conf: /etc/apache2/sites-enabled/hfpack.com.conf: /etc/apache2/sites-enabled/kojapo.com.conf: /etc/apache2/sites-enabled/lommafik.com.conf: /etc/apache2/sites-enabled/minigymnasterna.se.conf: /etc/apache2/sites-enabled/minigymnasterna.se.conf:# /etc/apache2/sites-enabled/netwinder.nu.conf: /etc/apache2/sites-enabled/newsuperantenna.com.conf: /etc/apache2/sites-enabled/pmr446.se.conf: /etc/apache2/sites-enabled/qth.nu.conf: /etc/apache2/sites-enabled/sm0kcr.se.conf: /etc/apache2/sites-enabled/swedmr.se.conf: /etc/apache2/sites-enabled/tacticom.se.conf: /etc/apache2/sites-enabled/tacticom.se.conf: root@ns ~ #

After

/etc/apache2/sites-enabled/000-default.conf: /etc/apache2/sites-enabled/aprs.se.conf: /etc/apache2/sites-enabled/boavideoproduktion.info.conf: /etc/apache2/sites-enabled/boavideoproduktion.info.conf: /etc/apache2/sites-enabled/brandmeister.se.conf: /etc/apache2/sites-enabled/d-star.se.conf: /etc/apache2/sites-enabled/gnulabs.se.conf: /etc/apache2/sites-enabled/ham-dmr.se.conf: /etc/apache2/sites-enabled/hamring.com.conf: /etc/apache2/sites-enabled/hamring.com.conf: /etc/apache2/sites-enabled/hamshop.se.conf: /etc/apache2/sites-enabled/hflink.com.conf: /etc/apache2/sites-enabled/hflink.net.conf: /etc/apache2/sites-enabled/hfpack.com.conf: /etc/apache2/sites-enabled/kojapo.com.conf: /etc/apache2/sites-enabled/lommafik.com.conf: /etc/apache2/sites-enabled/minigymnasterna.se.conf: /etc/apache2/sites-enabled/minigymnasterna.se.conf:# /etc/apache2/sites-enabled/netwinder.nu.conf: /etc/apache2/sites-enabled/newsuperantenna.com.conf: /etc/apache2/sites-enabled/pmr446.se.conf: /etc/apache2/sites-enabled/qth.nu.conf: /etc/apache2/sites-enabled/sm0kcr.se.conf: /etc/apache2/sites-enabled/swedmr.se.conf: /etc/apache2/sites-enabled/tacticom.se.conf: /etc/apache2/sites-enabled/tacticom.se.conf: /etc/apache2/sites-enabled/test.test.conf:

I added test.test

Now it does not work

Deleting test.test makes it all work again

It seems to affect even me as "root" user

Output is like the following

root@ns ~ # grep -i '<virtualhost' /etc/apache2/sites-enabled/*.conf /etc/apache2/sites-enabled/000-default.conf: /etc/apache2/sites-enabled/aprs.se.conf: /etc/apache2/sites-enabled/boavideoproduktion.info.conf: /etc/apache2/sites-enabled/boavideoproduktion.info.conf: /etc/apache2/sites-enabled/brandmeister.se.conf: /etc/apache2/sites-enabled/d-star.se.conf: /etc/apache2/sites-enabled/gnulabs.se.conf: /etc/apache2/sites-enabled/ham-dmr.se.conf: /etc/apache2/sites-enabled/hamring.com.conf: /etc/apache2/sites-enabled/hamring.com.conf: /etc/apache2/sites-enabled/hamshop.se.conf: /etc/apache2/sites-enabled/hflink.com.conf: /etc/apache2/sites-enabled/hflink.net.conf: /etc/apache2/sites-enabled/hfpack.com.conf: /etc/apache2/sites-enabled/kojapo.com.conf: /etc/apache2/sites-enabled/lommafik.com.conf: /etc/apache2/sites-enabled/minigymnasterna.se.conf: /etc/apache2/sites-enabled/minigymnasterna.se.conf:# /etc/apache2/sites-enabled/netwinder.nu.conf: /etc/apache2/sites-enabled/newsuperantenna.com.conf: /etc/apache2/sites-enabled/pmr446.se.conf: /etc/apache2/sites-enabled/qth.nu.conf: /etc/apache2/sites-enabled/sm0kcr.se.conf: /etc/apache2/sites-enabled/swedmr.se.conf: /etc/apache2/sites-enabled/tacticom.se.conf: /etc/apache2/sites-enabled/tacticom.se.conf: /etc/apache2/sites-enabled/test.test.conf: root@ns ~ #

Could there been any update causing this? Can I allow support login to the server for you guys to check ? //Johan

According to your Apache configs, it looks like you're seeing the issue mentioned in the link in Comment #1.

We'd recommend setting all your domains to use "VirtualHost x.x.x.x:80" rather than "VirtualHost *:80".

If any are using "*:80", that can cause the issue you're seeing.

Network interface for virtual addresses: ETH0 Default virtual IPv4 address: From Network Interface Default IP adress for DNS records: Automaticall detect externa address Default virtual IPv6 address: From network interface Network interface for IPv6 address: Same as IPv4 Netmask size for IPv6 addresses: Default (64) Ues default IPv6 address for new virtual servers: Yes¨

The odd thing is this appeared suddenly I have done no changes to config

//Johan

Changing * to the real ip seems to solve it.. Thank you.. Still puzzled why it started suddenly

Great, we're glad to hear this is working now!

I'll mark this as fixed, but feel free to let us know if you have any additional questions.