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

MimisK's avatar
Level 12

Laravel application in subdomain

Good evening.

Is there a way to have a separate laravel application on a subdomain? Is it possible?

thnx

0 likes
4 replies
Sinnbeck's avatar

Yeah that should be fine. I have several on different sub domains

1 like
Sinnbeck's avatar

@MimisK you do it exactly the same as with a primary domain. Point it to the correct ip and add it to the virtual host of the site. And you never told how you are hosting so I just assumed you had your own server

jlrdw's avatar

@MimisK also Digital Ocean has a bunch of how to articles on setting up laravel.

Edit:

I just searched for digital ocean setup laravel in subdomain

And got quite a few results.

Please or to participate in this conversation.