-1

How can I fix it without a port?

http://askothers.net:8080 is working but http://askothers.net is not working

<VirtualHost *:8080>
    ServerName askothers.net
    ServerAlias www.askothers.net
    Redirect / https://www.askothers.net/
</VirtualHost>
<VirtualHost *:443>
    ServerName askothers.net
    ServerAlias www.askothers.net
    DocumentRoot "/opt/bitnami/apache/htdocs/askothers.net"
    SSLEngine on
    SSLCertificateFile "/etc/letsencrypt/live/askothers.net/fullchain.pem"
    SSLCertificateKeyFile "/etc/letsencrypt/live/askothers.net/privkey.pem"
    ServerAdmin info@askothers.net
    ErrorLog "logs/askothers.net-error_log"
    CustomLog "logs/askothers.net-access_log" common
</VirtualHost>
vidarlo
  • 3,775
  • 1
  • 12
  • 25
Pervez
  • 99
  • Does this answer your question? [How can I forward requests from my web server?](https://serverfault.com/questions/1035016/how-can-i-forward-requests-from-my-web-server) – Gerald Schneider Jan 24 '22 at 10:03

1 Answers1

2

The default port for HTTP is port 80. Your server is on 8080.

You have to change your port to follow the standards, which is port 80 for HTTP and port 443 for HTTPS.