Submitted by info@gnulabs.se on Mon, 12/17/2018 - 05:20 Pro Licensee
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
Submitted by andreychek on Mon, 12/17/2018 - 08:25 Comment #1
Howdy -- thanks for contacting us!
It sounds like you may be seeing this issue here:
https://www.virtualmin.com/documentation/web/troubleshooting#toc-the-wro...
Try the troubleshooting steps mentioned in there, and let us know if that helps!
Submitted by info@gnulabs.se on Mon, 12/17/2018 - 10:55 Pro Licensee Comment #2
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
Submitted by info@gnulabs.se on Mon, 12/17/2018 - 10:59 Pro Licensee Comment #3
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
Submitted by andreychek on Mon, 12/17/2018 - 11:49 Comment #4
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.
Submitted by info@gnulabs.se on Mon, 12/17/2018 - 12:14 Pro Licensee Comment #5
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
Submitted by info@gnulabs.se on Mon, 12/17/2018 - 12:28 Pro Licensee Comment #6
Changing * to the real ip seems to solve it.. Thank you.. Still puzzled why it started suddenly
Submitted by andreychek on Mon, 12/17/2018 - 14:23 Comment #7
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.