bitnami / vms

Bitnami VMs
https://bitnami.com
Other
206 stars 44 forks source link

[LAMP] Redirect #1711

Open huzanf opened 3 days ago

huzanf commented 3 days ago

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

36086671-560b-4dd1-d8af-0fb315c064a1

bndiagnostic output

===== Begin of bndiagnostic tool output =====

✓ Processes: No issues found
✓ Mariadb: No issues found
? Connectivity: Found possible issues
✓ Php: No issues found
? Apache: Found possible issues
? Resources: Found possible issues

[Connectivity]

Server ports 22, 80 and/or 443 are not publicly accessible. Please check the following guide to open server ports for remote access:

https://docs.bitnami.com/general/faq/administration/use-firewall/

[Apache]

Found recent error or warning messages in the Apache error log. Press [Enter] to continue:

[Thu Nov 14 12:08:35.668233 2024] [authz_core:error] [pid 449295:tid 449409] 
[client **ip_address**:21802] AH01630: client denied by server configuration: 
/opt/bitnami/apache/cgi-bin

[Thu Nov 14 12:08:51.230515 2024] [autoindex:error] [pid 449295:tid 449368] 
[client **ip_address**:21802] AH01276: Cannot serve directory 
/opt/bitnami/FDU/wp-admin/css/colors/: No matching DirectoryIndex 
(index.html,index.html,index.htm,index.php) found, and server-generated 
directory index forbidden by Options directive

[Thu Nov 14 12:09:18.747108 2024] [autoindex:error] [pid 455806:tid 455892] 
[client **ip_address**:16242] AH01276: Cannot serve directory 
/opt/bitnami/FDU/wp-content/upgrade/: No matching DirectoryIndex 
(index.html,index.html,index.htm,index.php) found, and server-generated 
directory index forbidden by Options directive

Please check the following guide to troubleshoot server issues:

https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro rs-apache/

Press [Enter] to continue: [Resources]

Your instance has little available RAM memory.

               total        used        free      shared  buff/cache   available
Mem:            1941        1264          69         192         983         677
Swap:              0           0           0

You could try to increase your instance's memory. Please check your cloud provider's documentation for more information.

===== End of bndiagnostic tool output =====

bndiagnostic was not useful. Could you please tell us why?

NA

Describe your issue as much as you can

Hi,

I recently setup a new website on my LAMP stack. I have also mapped the domain to my IP. However, when I hit the domain, for some reason it get's redirected to one of the other websites that is there on my server. Kindly assist.

jotamartos commented 2 days ago

I recently setup a new website on my LAMP stack. I have also mapped the domain to my IP. However, when I hit the domain, for some reason it get's redirected to one of the other websites that is there on my server. Kindly assist.

That question is related to a custom configuration in your deployment. Please check all vhost files under /opt/bitnami/apache/conf/vhosts and ensure that they all configure the ServerName and ServerAlias parameters as needed. Also check if there is any redirection in place in those files.