Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

simsar78's avatar

[RESOLVED] Cpanel Shared Hosting Wildcard subdomain for one project on domain

Hello, i have configured my project Laravel on root of my shared hosting website.

Directory on root is "laravel_project" and public directory is into "public_html" It's work well.

But I need a wildcard subdomain ( I have created route subdomain in my project)

Into localhost, on my computer) the route function but, online no.

Thanks

0 likes
2 replies
colbyalbo's avatar

Hi, is there a specific question you have? are you running nginx?

simsar78's avatar
simsar78
OP
Best Answer
Level 1

I have resolved :

create a subdomain and redirect whit same public folder in cpanel.

Thank you at all.

1 like

Please or to participate in this conversation.