Fortrbbit app domain change - laravel

So I am fairly new to laravel and especial to its deploying. I set up a fortrabbit application and got my website running so that's all good. The thing is though, the app url is not the one I wanted. I have an older website running without Laravel, and that is the url I want it to be hosted on. I have the ftp credentials for the old site but I have no clue how I can sort of clone the new Laravel site to the old one.
Briefly, I have a Laravel app running on insertname.eu1.frbit.net but I want it to be hosted on www.insertname.com which an older site is being hosted on for the time being.
Can anyone help me out? There must be a way to do this. Thanks alot!

The fortrabbit "App URL" is meant for testing/development/configuration and can't be changed. However you can route other domains to your App on fortrabbit. You do so by pointing the domain to the "App URL" via a CNAME and by registering the domain in the App settings in the Dashboard.

Related

Heroku Custom Domain Spotify Auth Issues

I have a node js web app on Heroku that connects to the Spotify API through the Spotify authorization code flow. The web app works completely fine and allows the user to log in and the redirect URI works perfectly fine as well.
However, I purchased a domain from Namecheap that I linked to Heroku as a custom domain. Everything works fine, except for the fact that my custom domain somehow fails when trying to log in to Spotify. Keep in mind that if I go to the default herokuapp domain for my web app, the login works perfectly. But when I use my custom domain, it doesn't work. I made sure to add the custom domain as a redirect URI as well, so that isn't the problem.
If anyone could please help me figure out the issue, that would be greatly appreciated.
This link shows a short video of the problem:
https://www.youtube.com/watch?v=oJjX5q43Ve0
The first site in the video is the default herokuapp webpage, which works flawlessly. But the second site, which is my namecheap custom domain, just brings me back to the main login page even after signing in through Spotify.

Website not working on root domain with https

I am trying to deploy a NextJS website to Heroku or Vercel and add a domain name to it using https://www.names.co.uk.
Adding the domain works but for some reason I cannot access the website at https://my-website.com, however I can access it with http://my-website.com and https://www.my-website.com. I need it to work for this url 'https://my-website.com' as the website is already ranked in google with this URL. I was wondering if anyone had any idea of how this can be done. Please ask if you need more information.
Apologies if I have posted this in the wrong place.
Thanks in advance.

Heroku app custom domain points to empty root

I've set up my app on Heroku. Everything loads fine when I access the herokuapp.com domain.
I've added my own domain to the app and added the CNAME as instructed but when I go to the subdomain it's just showing an empty root.
I'm not sure what I am doing wrong here!
I've checked the domain is added to the app running heroku domains in terminal and it's there.
This is the first time I've published an app on Heroku but I've followed the instructions and I can't see what the problem is.
Any help is much appreciated.
Thanks
I managed to resolve this issue by adding another CNAME record in the domain provider account and creating the subdomain in there, rather than from the server.

My heroku app redirects to another site

this week one of my client sent me an email saying that the url of the heroku's app was redirecting to another site myapp.com/index.cfm?fa=main.tradelogin. The name of this site is Pressgeek.com.
But if I use myapp.herokuapp.com it works fine. I checked my github repo to see if there was some redirect there but I didn't find any. I also checked the heroku's settings and there were ok.
I never had a problem like this, someone know what to do? Thanks

How to correctly set up development version of Facebook app on localhost for Facebook login?

I have made a Facebook app in Ruby (using Sinatra and Koala), deployed it on Heroku and sat up all the settings and it works that way, but now I have to debug some functionality and for that reason I need to run application from localhost (using foreman start).
I have read somewhere that I should make development version of my app and specify site url to localhost:[port_num] and I have done so.
The problem is when user(me) reach localhost:5000 and application redirects it to Facebook to get permissions (when Facebook login dialog should appears). At that point this error occurs:
App Not Set Up: The developers of this app have not set it up properly for Facebook Login.
I saw this issue but in my development version of app there is no status and review settings and I don't see how to make application alive.
How to set up my app for Facebook Login while it runs on localhost?
or
What is the proper way to run Facebook app from localhost to get full functionality?
The problem laid in Advanced settings in security section - development app "inherits" settings from base app so in Settings->Advanced->Security->Valid OAuth redirect URIs was initially url of my base app not my localhost:5000 and it causes a problem. One of solutions is to leave this field empty (and leave app open to redirect attacks) or to fill this field with your Site URL.
It seems that development version of an application can't be "alive".
To allow Facebook Login for users of your development app you should register them as testers under Roles tab.

Resources