Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LAMP] Domain showing default Bitnami Page #333

Closed
huzanf opened this issue Sep 15, 2022 · 10 comments
Closed

[LAMP] Domain showing default Bitnami Page #333

huzanf opened this issue Sep 15, 2022 · 10 comments
Assignees
Labels
apache how-to How to issues reported by users lamp/mamp/wamp/xampp stale 15 days without activity triage Triage is needed

Comments

@huzanf
Copy link

huzanf commented Sep 15, 2022

Describe your issue as much as you can

Hi,
When I hit the domain, it shows the default Bitnami page. Kindly please support.

Screen Shot 2022-09-15 at 9 36 21 PM

BN Support Tool code: ad8c45b6-fd12-4dc6-ef45-d18d01a08041

@huzanf huzanf added the how-to How to issues reported by users label Sep 15, 2022
@bitnami-bot bitnami-bot added the triage Triage is needed label Sep 15, 2022
@huzanf
Copy link
Author

huzanf commented Sep 16, 2022

Hi Bitnami Support,

I've removed the index page, however, my Wordpress website which is in a folder is not loading. On hitting wp-admin it shows error

Not Found
The requested URL was not found on this server.

Kindly support.

@jotamartos
Copy link
Collaborator

Hi @huzanf ,

This is a basic question about Apache. I can see you have this in the htdocs folder

apache/htdocs:
total 20
drwxrwxr-x  3 bitnami root   4096 Sep 15 13:26 .
drwxr-xr-x 16 root    root   4096 Apr 19 10:39 ..
-rw-rw-r--  1 bitnami root   4851 Apr 19 14:05 index.html
drwxrwxr-x  6 bitnami daemon 4096 Sep 15 15:57 XYZ

The WordPress' files are inside the XYZ folder but Apache is using htdocs as DocumentRoot

<VirtualHost _default_:80>
  DocumentRoot "/opt/bitnami/apache/htdocs"

You will need to configure both bitnami.conf and bitnami-ssl.conf files to point to the XYZ folder. However, we sugget you follow our guide to deploy the app, not using the htdocs folder as you did

https://docs.bitnami.com/general/infrastructure/lamp/administration/create-custom-application-php/

@github-actions
Copy link

github-actions bot commented Oct 5, 2022

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Oct 5, 2022
@github-actions
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@ariapythonguy
Copy link

HI am facing the same issue. Installed LAMP by Bitnami yesterday on Ec2. We have uploaded 2 new files to the /opt/bitnami/apache/htdocs/ folder. However whilst it shows these files in FileZilla, in the correct folder, when we open the folder using ssh, it shows a different index.html file which is the original bitnami home page. https://teyzee.site is our website.
image
image

Let us know if you need more information

@ariapythonguy
Copy link

I also checked the apache bitnami.conf and apache.conf files and all point to /opt/bitnami/apache/htdocs/

@jotamartos
Copy link
Collaborator

However whilst it shows these files in FileZilla, in the correct folder, when we open the folder using ssh, it shows a different index.html file

Please ensure you are uploading the file to the correct server using FileZilla. If the file was uploaded, the file must be there, there is no process to remove "extra" files in the htdocs folder.

If you continue running into issues, just SSH into the instance and manually create the file there (copy/paste the content using the command line editor)

@ariapythonguy
Copy link

Yes i triple checked it is the same instance by copying the ssh from AWS. Never faced this before.

@ariapythonguy
Copy link

I need to upload a lot of files so dont think this copy paste is going to work. Will be great if you can suggest where these files actually are

@ariapythonguy
Copy link

Sorry you were right it was the wrong instance - it's fine now. facepalm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
apache how-to How to issues reported by users lamp/mamp/wamp/xampp stale 15 days without activity triage Triage is needed
Projects
None yet
Development

No branches or pull requests

4 participants