Support the ongoing development of Laravel.io →
Configuration Requests Input
Last updated 1 year ago.
0

Yes the url is set in config/app.php

0

I asking because i want to access to the website from another domain.

Is it possible? How can i do that?

0

You can do this 2 ways.

You can point as many domains to your laravel application as you wish by setting an A record for your domain name wherever your domain is registered to the server IP that is hosting your server

OR

Set your domain name servers and create the record on your server DNS. (Much more complicated)

0

Ok, thanks.

I pointed one domain name to my laravel application.

Can I use this domain to navigate into my laravel application?

0

From reading more posts than the opening one, seems to me you have several DNS and want to point them to one. For example: whatever.com, somethingdarkside.com, mydogmilan.com, and you want all them to show whatever.com. This is web server related which depends on what web server you are running. Most people probably run nginx nowadays, I run apache2. In apache2 cd into /etc/apache2 and add all DNS to sites-available.conf - which will result in 3 server names but only one DocumentRoot - all your three domains now point to the same website.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jonitopsg jonitopsg Joined 18 Jun 2014

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.

© 2024 Laravel.io - All rights reserved.