Hello
I installed virtualmin on freshly centos 7 and every thing works fine till i activate this option
[Apache SSL website enabled?]
the website stop working and start shows me 403 error
i tried to deactivate this option but no luck, i delete the account and create new on but the error still shows up, even if i try http the website go to https on the browser…
you can check it motorsme . com
BTW i delete htaccess file but same issue still on.
any advice ?
second question is about setting name server on Virtual Server
Please correct me if i made a mistake, first thing i did is register host on my domain CP (godady)
Then i click on server configuration -> DNS Records, and create a new “A - IPv4 Address” record, check screenshot
Then System Settings’ -> ‘Server Templates’ -> ‘Default Settings’ -> 'BIND DNS Domain and i add this…
Is this correct ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Heya,
for anyone stumbuling upon this question.
The error message 403 usually means that the web server has insufficient permissions to access the requested file or directory. This error can be due to various reasons, such as incorrect file permissions, ownership issues, or even misconfigured Apache directives.
Given that the problem starts when you enable the [Apache SSL website enabled?] option, it’s likely that there might be some misconfiguration in your Apache SSL configuration, or the SSL certificate might be incorrect or not properly installed.
Here are a few steps you can follow to troubleshoot the problem:
Check SSL Certificate and Configuration:
Ensure that you have correctly installed the SSL certificate for your domain. The SSL Certificate files should be placed in the correct directories, and the paths in the Apache SSL configuration file should point to these files correctly.
Check File Permissions:
Check the file permissions of your website’s root directory. In general, directories should have permissions of 755, and files should have permissions of 644. You can adjust permissions using the chmod command.
Check File and Directory Ownership:
Make sure that the files and directories are owned by the correct user. In most cases, they should be owned by the user that the web server is running under. You can adjust ownership using the chown command.
Check Apache Error Logs:
Review the Apache error logs for any specific error messages that may indicate what is causing the problem. You can usually find these logs in /var/log/httpd or /var/log/apache2.
Check Apache Configuration:
Review your Apache configuration files, particularly the virtual host configuration for your SSL-enabled site. Make sure that the DocumentRoot directive is pointing to the correct directory.
Ensure .htaccess file is not the cause:
While you mentioned you deleted the .htaccess file, please double-check that no other .htaccess files in the directory hierarchy are causing the issue.
Remember to restart your Apache server after making any changes to its configuration files.
If none of the above solutions work, it could be helpful to have a look at your Apache and Virtualmin configurations. It might also be helpful to get a more detailed description of your setup and what steps you took leading up to the problem.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.