Previously I was using replit to host my html files, for which I used the url format https://xxxxx.xxxxx.repl.co.
And now replit has integrated hosting with deploymment and the url for my html page has changed to replit.app.
I need a redirect from the new url back to the old url (repl.co).
can anyone help me pls.
Hi @oswenalumni , welcome to the forums!
You can’t revert back to the previous domain, this is the new one. It can only be viewed if the repl is being run in the editor.
What do you want to do exactly?
I create QR code with https://xxxxxx.xxxxxx.repl.co to let users scan it and open my HTML web application, So I want users to auto redirect to new replit.app url.
Hey @oswenalumni welcome to the forums!
If you want the new
replit.app you will have to deploy. Otherwise your application wont stay awake unless you are in the editor. If it [Repl] is a bot (Discord, Telegram, etc.) you have to use a Reserved VM Deployment (it has 99.9% uptime), this option does cost the most starting at $7 USD (it is a monthly payment + the amount of traffic it receives). If it [Repl] is a website without a backend (Plain HTML, CSS, JS) use the Static Deployment it is free if you connect a Credit Card (if it goes above your
egress limit you have to pay for traffic). If it [Repl] is a website with a backend (Flask, Node, etc.) use the Autoscale Deployment (you do have to pay for this one but depending on what you are doing it can be pretty cheap + your web traffic). I hope this helps!
thank you @SalladShooter
I have deployed my html code and get new replit.app url like https://xxxxxx-xxxxxx.replit.app and it work perfectly. but my point is I have QR-code of the old url like https://xxxxx.xxxxx.replit.co and if my users scan this qrcode, i want them to go to the new replit.app url
sorry for my English, I do my best to try to explain what I exactly want, thank you
Hey @oswenalumni, you are unable to get the old repl.co links anymore. Sadly you are going to have to change all of the QR codes to the new replit.app link.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.