Get static IP address for Heroku app Announcing the arrival of Valued Associate #679: Cesar...
Most bit efficient text communication method?
How do living politicians protect their readily obtainable signatures from misuse?
preposition before coffee
The Nth Gryphon Number
AppleTVs create a chatty alternate WiFi network
Getting prompted for verification code but where do I put it in?
Dyck paths with extra diagonals from valleys (Laser construction)
How to report t statistic from R
1-probability to calculate two events in a row
Why weren't discrete x86 CPUs ever used in game hardware?
Why can't I install Tomboy in Ubuntu Mate 19.04?
Random body shuffle every night—can we still function?
What does it mean that physics no longer uses mechanical models to describe phenomena?
How does light 'choose' between wave and particle behaviour?
Trademark violation for app?
Is there public access to the Meteor Crater in Arizona?
How can I set the aperture on my DSLR when it's attached to a telescope instead of a lens?
Girl Hackers - Logic Puzzle
Drawing spherical mirrors
Why are my pictures showing a dark band on one edge?
Putting class ranking in CV, but against dept guidelines
Why are vacuum tubes still used in amateur radios?
Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?
Semigroups with no morphisms between them
Get static IP address for Heroku app
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Errors when switching to specific static IPhow to detect/Block duplicate/Static IP address on networkConfigure MX record when DNS are pointing to a Heroku applicationStatic IPv6 address in Windows unused for outgoing connectionsCan I redirect a Network Solutions apex domain to www for SSL connections?Fasthosts and HerokuCorrect DNS configuration to use Route 53 for existing domainWhy does a DHCP server need a static IP address?Using Route53 to point apex/root domain to Heroku application
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I want to make a domain point to my Heroku app, so I am trying to create an A record that targets myapp.herokuapp.com
.
The problem is that the domain provider requires an IP address, and I cannot find any IP address for my Heroku app. I guess it might be something about Heroku only having dynamic IP addresses (and thus no static IP addresses).
How can I fix this problem? Can I make Heroku use static IP addresses?
domain-name-system ip dns-hosting static-ip heroku
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to make a domain point to my Heroku app, so I am trying to create an A record that targets myapp.herokuapp.com
.
The problem is that the domain provider requires an IP address, and I cannot find any IP address for my Heroku app. I guess it might be something about Heroku only having dynamic IP addresses (and thus no static IP addresses).
How can I fix this problem? Can I make Heroku use static IP addresses?
domain-name-system ip dns-hosting static-ip heroku
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to make a domain point to my Heroku app, so I am trying to create an A record that targets myapp.herokuapp.com
.
The problem is that the domain provider requires an IP address, and I cannot find any IP address for my Heroku app. I guess it might be something about Heroku only having dynamic IP addresses (and thus no static IP addresses).
How can I fix this problem? Can I make Heroku use static IP addresses?
domain-name-system ip dns-hosting static-ip heroku
I want to make a domain point to my Heroku app, so I am trying to create an A record that targets myapp.herokuapp.com
.
The problem is that the domain provider requires an IP address, and I cannot find any IP address for my Heroku app. I guess it might be something about Heroku only having dynamic IP addresses (and thus no static IP addresses).
How can I fix this problem? Can I make Heroku use static IP addresses?
domain-name-system ip dns-hosting static-ip heroku
domain-name-system ip dns-hosting static-ip heroku
asked Sep 3 '17 at 20:27
JamgreenJamgreen
10111
10111
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 9 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
There are heroku apps for that. Take a look at https://devcenter.heroku.com/articles/fixie
add a comment |
Instead of an A record, use a CNAME (alias) record. CNAMEs point to other names. So you don't have to worry about knowing the IP.
www.myapp.com. CNAME myapp.herokuapp.com.
You cannot useCNAME
records on a zone apex
– Torin
Nov 20 '18 at 9:27
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Some DNS providers use a virtual record type generally called anALIAS
(distinct fromCNAME
) which acts likeCNAME
only forA
andAAAA
record types. No DNS provider should ever treat aCNAME
record like this since it's completely incorrect behaviour. It is very specific how aCNAME
should be handled, including that it should never be at a zone apex.
– Torin
Nov 20 '18 at 16:35
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f871875%2fget-static-ip-address-for-heroku-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are heroku apps for that. Take a look at https://devcenter.heroku.com/articles/fixie
add a comment |
There are heroku apps for that. Take a look at https://devcenter.heroku.com/articles/fixie
add a comment |
There are heroku apps for that. Take a look at https://devcenter.heroku.com/articles/fixie
There are heroku apps for that. Take a look at https://devcenter.heroku.com/articles/fixie
answered Sep 3 '17 at 20:36
tarhimtarhim
11
11
add a comment |
add a comment |
Instead of an A record, use a CNAME (alias) record. CNAMEs point to other names. So you don't have to worry about knowing the IP.
www.myapp.com. CNAME myapp.herokuapp.com.
You cannot useCNAME
records on a zone apex
– Torin
Nov 20 '18 at 9:27
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Some DNS providers use a virtual record type generally called anALIAS
(distinct fromCNAME
) which acts likeCNAME
only forA
andAAAA
record types. No DNS provider should ever treat aCNAME
record like this since it's completely incorrect behaviour. It is very specific how aCNAME
should be handled, including that it should never be at a zone apex.
– Torin
Nov 20 '18 at 16:35
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
add a comment |
Instead of an A record, use a CNAME (alias) record. CNAMEs point to other names. So you don't have to worry about knowing the IP.
www.myapp.com. CNAME myapp.herokuapp.com.
You cannot useCNAME
records on a zone apex
– Torin
Nov 20 '18 at 9:27
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Some DNS providers use a virtual record type generally called anALIAS
(distinct fromCNAME
) which acts likeCNAME
only forA
andAAAA
record types. No DNS provider should ever treat aCNAME
record like this since it's completely incorrect behaviour. It is very specific how aCNAME
should be handled, including that it should never be at a zone apex.
– Torin
Nov 20 '18 at 16:35
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
add a comment |
Instead of an A record, use a CNAME (alias) record. CNAMEs point to other names. So you don't have to worry about knowing the IP.
www.myapp.com. CNAME myapp.herokuapp.com.
Instead of an A record, use a CNAME (alias) record. CNAMEs point to other names. So you don't have to worry about knowing the IP.
www.myapp.com. CNAME myapp.herokuapp.com.
edited Nov 20 '18 at 17:08
answered Sep 17 '18 at 14:27
Ryan BolgerRyan Bolger
14.1k23051
14.1k23051
You cannot useCNAME
records on a zone apex
– Torin
Nov 20 '18 at 9:27
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Some DNS providers use a virtual record type generally called anALIAS
(distinct fromCNAME
) which acts likeCNAME
only forA
andAAAA
record types. No DNS provider should ever treat aCNAME
record like this since it's completely incorrect behaviour. It is very specific how aCNAME
should be handled, including that it should never be at a zone apex.
– Torin
Nov 20 '18 at 16:35
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
add a comment |
You cannot useCNAME
records on a zone apex
– Torin
Nov 20 '18 at 9:27
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Some DNS providers use a virtual record type generally called anALIAS
(distinct fromCNAME
) which acts likeCNAME
only forA
andAAAA
record types. No DNS provider should ever treat aCNAME
record like this since it's completely incorrect behaviour. It is very specific how aCNAME
should be handled, including that it should never be at a zone apex.
– Torin
Nov 20 '18 at 16:35
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
You cannot use
CNAME
records on a zone apex– Torin
Nov 20 '18 at 9:27
You cannot use
CNAME
records on a zone apex– Torin
Nov 20 '18 at 9:27
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Generally speaking, that's correct. But there are a number of DNS providers that now provide virtual CNAME records that can be used on the zone apex. The server implementations basically resolve the A records at query time and return them as if you had added a normal A record.
– Ryan Bolger
Nov 20 '18 at 16:15
Some DNS providers use a virtual record type generally called an
ALIAS
(distinct from CNAME
) which acts like CNAME
only for A
and AAAA
record types. No DNS provider should ever treat a CNAME
record like this since it's completely incorrect behaviour. It is very specific how a CNAME
should be handled, including that it should never be at a zone apex.– Torin
Nov 20 '18 at 16:35
Some DNS providers use a virtual record type generally called an
ALIAS
(distinct from CNAME
) which acts like CNAME
only for A
and AAAA
record types. No DNS provider should ever treat a CNAME
record like this since it's completely incorrect behaviour. It is very specific how a CNAME
should be handled, including that it should never be at a zone apex.– Torin
Nov 20 '18 at 16:35
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
I modified my example to remove the apex CNAME, because you're right that it's wrong. But like you said, the solution for apex records is still possible depending your your DNS provider.
– Ryan Bolger
Nov 20 '18 at 17:10
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f871875%2fget-static-ip-address-for-heroku-app%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown