403 error when visiting new domain

codes9

New member
Joined
Sep 5, 2019
Messages
3
Hi, I'm getting a 403 error after creating a new domain.

The issue affects 2 domains on the hosting server and none of the others.

What I've done so far:

1. I ran:
Code:
cd /usr/local/directadmin/scripts/
./set_permissions.sh user_homes
2. I've verified that the permissions are correct for this domain's public html

3. I've restarted Open Lightspeed

4. I've rebuilt rewrite.confs

5. And verified that there is no .htaccess blocking access.

6. I've had a look at logs for the domain in:
Code:
/var/log/httpd/domains/
Logs are empty

:confused: Anyone have an idea what could be wrong here or where else I could search for a clue?
 

codes9

New member
Joined
Sep 5, 2019
Messages
3
Update

I've dropped the account and recreated it in hopes that this issue would go away. Created the account with a different username.

I've looked at this link on the forum https://forum.directadmin.com/showthread.php?t=34570 suggests that the public-html directory may have wrong permissions.

I've rechecked this permissions are correct.

Found I'm unable to login to email for this domain as well. Then it hit me.

Looked in:
/var/log/messages

Found my ip blocked by CSF (Firewall)
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,818
Location
GMT +7.00
Logs empty might mean you are connecting to a wrong IP. If you change a domain's IP it might take a while for DNS changes to propagate.
 
Top