Virtualmin Public Past

Hello,

I noticed that my URL is showing as “https://pc.uniqsuporte.com.br/public” instead of “https://pc.uniqsuporte.com.br” directly. I would like to understand why the files are not being directed directly to the public folder.

Can you help me configure it correctly so that the URL does not include the “public” directory?

Thank you in advance for your help!

No clue, this is wild guessing…

Looks like you have a folder named “public” underneath /homes/[USERNAME]/public_html/

Have you?

Or maybe some .htaccessrules that went rogue…

Without some detailed info on your setup I can only poke about in a fog.

Virtualmin has nothing to do with it, that’s not a thing Virtualmin would do, by default. You’ve either got your website in a directory named /home/<domain>/public_html/public or you’ve got some rewrite or proxy rules on that path.

I guess it’s also possible you migrated a site from some other control panel that has conventions different from Virtualmin, including weird paths.

1 Like

looks file