Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9258221
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T12:20:30+00:00 2026-06-18T12:20:30+00:00

I have read the other question with the same title and it doesn’t in

  • 0

I have read the other question with the same title and it doesn’t in fact get the URL of the app. It gets the URL of the current page, which is mighty close, and suited the needs of the question perfectly. Sadly I don’t have a current page, or even a controller.

I want to get the HOST/URL of the app. From within a worker DYNO.

I have two “apps” on Heroku right now… one testing and one production. Well technically both are production, one is beta, the other is released.

I would like to be able to figure out the URL of the app, because I send out data to a third party and I’d like to include a link back to the system (and a specific record)…

More detail:
I have a WORKER send an XML file contain product details to eBay. In the product details there’s space for an HTML compatible “description”.. I want to have a link back to my system in there, so a viewer can see details that exceed eBay’s ability to display. Thus I need the URL of my system.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T12:20:31+00:00Added an answer on June 18, 2026 at 12:20 pm

    There is nothing in ENV / config but you could add it with:

    heroku config:add HOST=warmmist837.herokuapp.com

    or better yet

    heroku config:add BETA=1

    then in code you can say ENV['HOST'] or ENV['BETA']

    Typically in rails code i would say Request.host but i don’t think that will help as you are in a worker not a Rack request.

    also if you are worried about working locally with this setup, if you are using RVM as your probably should be you can add the export statement to the .rvmrc

    export HOST=my.localmachine.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read other related question but i cant really get them to relate
Okay guys, I have read through all the other posts and question on jQuery
Having read other people's questions I thought window.onload=... would answer my question. I have
I have read the other threads regarding this same problem but I still don't
Before downvote please read the question, I also see other question but doesn't find
I know there are other questions that have similar issues, but I have read
I have read the other posts, e.g., vim: Executing a list of editor commands
I have read this article from High Scalability about Stack Overflow and other large
According to Apple documentation and other documentation I have read about on disk encryption
I read up someplace, that there are characters other than A-Z that have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.