Support the ongoing development of Laravel.io →
Installation Configuration

I currently have a website up and running. I developed a laravel application on localhost. I want to add the laravel app to my current live website. However, I do not want to have to build the website into the laravel app. What is the best way to install laravel so I leave my website untouched basically just adding the laravel app.

Basically I just want to add a login link to my current nav menu, and the login link takes me to the laravel app. Also, I do not want to use a sub-domain. Is this possible ? Is it good practice ?

Thanks, Julian

Last updated 3 years ago.
0

I did something like this - In my routes I have

Route::get('/', 'PagesController@landing');

which takes a visitor to the marketing page that's nested within my resource views

	public function landing(){
	    return view('pages.landing.index');
	}

From there you can add logic to determine if you want authenticated users to jump into the app when they hit the root domain or be taken to the landing page.

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.