public_html and sub directories

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Richardit
Level 1
Level 1
Posts: 5
Joined: Thu Feb 21, 2019 9:52 am

public_html and sub directories

Post by Richardit »

Hi,
I created a freedombox server in a virtualmachine, installed with VirtualBox.
Freedombox works in Linux.
My pc works in Linux Mint ver. Mate-19 Tara.

I can access to graphical interface of Freedombox through website, the website is the IP of my server configured in the VM.
If I insert a file inside the Public_html folder that is under

Code: Select all

sftp://superuser@hostnamevm.local/home/superuser/public_html/index.html
and I go to

Code: Select all

https://ip.of.web.site/~superuser/index.html
I see the content correctly.

When I put one or more directory under public_html, then it becomes

Code: Select all

sftp://superuser@hostnamevm.local/home/superuser/public_html/my_directoy/sub_directory/index.php
and I try to do

Code: Select all

https://ip.del.sito.web/~superuser/my_directoy/sub_directory/index.php
I do not see anything anymore, it does me the error 404; but even just doing

Code: Select all

sftp://superuser@hostnamevm.local/home/superuser/public_html/my_directoy/index.htm
doesn't go.

How can I do to solve this problem?
I would like to work on my website in local network.

Thank you! :D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”