I had to undo the changes made to the config file (/opt/bitnami/apache2/conf/bitnami/bitnami.conf) as it had made the website inaccessible.
But, for a better understanding, I am writing down the changes that I had made:-
- I tried changing the ports from 80 to 81 in this file - /opt/bitnami/apache2/conf/bitnami/bitnami.conf
First, I changed the Port to 81 in IfVersion Directive -
<IfVersion < 2.3 >
And then, I changed the port to 81 in the Virtual Host Directive -
After doing these changes I had restarted the server. But then the website became inaccessible.
2: Then I tried to change only 1 port i.e., once I tried to change the Port from 80 to 81 in the IfVersion Directive and keeping the Port 80 in Virtual Host Directive - <VirtualHost default:80>.
I also tried the opposite i.e., keeping the Port 80 in IfVersion and changing the Port to 81 in Virtual Host Directive
But none of this worked for me and so I had to undo the changes and changed the Port back to 80 in both the directives.
I think I have done all the other settings as described in the tutorial.
Anyway, here is the output of bnsupport tool - 0fd666a5-c85a-9d25-c97e-f183eec3ea02
I don't know what possibly could have gone wrong! Please help me in resolving this issue.