Apache/2.4.29 (Ubuntu) Server at Port 443

October 31, 2019 291 views
One-Click Install Apps MySQL PHP Frameworks Apache

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

2 Answers

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

Have another answer? Share your knowledge.