By amjadgul05
Hi Guys i have installed Apache PHP MYSQL and configure everything. i am using PHP FrameWork Codeigniter with MYSQL database. i deploy my project and create database and i also convert the HTTP to HTTPS using Certbot but when i hit enter the link i am facing the error. i am really looking forward to your answer if anyone have facing same problem
Apache/2.4.29 (Ubuntu) Server at (my-domain) Port 443
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!
Accepted Answer
Hi @amjadgul05,
I didn’t see the error you are mentioning however, most probably, you haven’t configured anything to run on port 443.
To confirm that, please type in the following command from inside your droplet
netstat -tulpen | grep 443
Does it display 443 - httpd/apache2? If it doesn’t, you’ll need to make sure Apache is listening on that port. This can be achieved from your httpd/apache2 configuration providing the Listening directive.
Just bellow
Listen 80
Add
Listen 443
It shloud look like this
Listen 80
Listen 443
Then restart your Apache.
Regards, KDSys
404 Not Found The requested URL was not found on this server.
Apache/2.4.29 (Ubuntu) Server at mydomain.com Port 443
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.