Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
What exactly are Paas, Hosting and SaaS ?
Wikipedia to the rescue.
PaaS - Platform as a service
http://en.wikipedia.org/wiki/Platform_as_a_service
SaaS - Software as a service
http://en.wikipedia.org/wiki/Software_as_a_service
Hosting
http://en.wikipedia.org/wiki/Internet_hosting_service
Heroku is not a DNS registrar. You can however buy domains elsewhere, such as Godaddy and add them to your Heroku app. By default you are given a free my-app-name.herokuapp.com domain. After you have purchased a domain, to "point it at heroku", you'll need to add a CNAME record which points to your my-app-name.herokuapp.com domain.
When you purchase a domain, you'll need to host the records on a DNS server. Some registrars provide free DNS hosting, others charge extra for it. You can purchase DNS hosting from Amazon Route 53 for $0.50 per domain / month. To use Amazon, you would need to change the domain's name servers to Amazon's.
Domain > Name Server > Hosting provider / PaaS.
One limitation of using Heroku is that you cant use apex domains. You must use a subdomain eg. www.example.com instead of just example.com. This is a DNS limitation - you can't have CNAME records on the apex. It must be an A record. Amazon Route 53 is one of the few providers that allow virtual CNAME records on the apex. It's basically an A record that is frequently updated. Each time your Heroku app sleeps due to inactivity, you may be given a new ip address when it restarts.
Further reading on DNS on Wikipedia.
ps: Happy New Year!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I've set up a application on Heroku and have also purchased a domain from GoDaddy.
I searched on Google how to connect my domain to Heroku and I also read the Heroku documentation but I am not able to connect it with my domain.
I am a beginner and have found I need to add cname or domain may be but I don't know how to do it. How can I connect my domain with the heroku app? I need to add DNS on my domain but how to add it?
Please let me know very very basic and detail step by step procedure to connect my domain with the Heroku app please.
Heroku provides detailed instructions in the Custom Domains support page.
Possible duplicate.. As per the user request we do ...
There are 2 steps you need to perform,
Add the custom domains addon and add the domain your going to use, eg www.mywebsite.com to your application, Running below command to perform this task
heroku domains:add www.example.com
Go to your domain registrar control panel and set www.mywebsite.com to be a CNAME entry to yourapp.herokuapp.com assuming you are using the CEDAR stack.
just put www in value and target is your heroku app like yourname.herokuapp.com
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have a Heroku app and I've add a CNAME (www to herokuapp) to redirect it from GoDaddy to Heroku. Now I'm trying to manage also the naked domain.
This is from Heroku documentation.
Naked domains (also known as bare domains or apex domains, for example mydomain.com) must use DNS A-records. To setup your root domain, add separate A records for each of the following addresses using your DNS management tool:
75.101.163.44
75.101.145.87
174.129.212.2
Check that your DNS is configured correctly with the “host” command:
$ host example.com
example.com has address 75.101.163.44
example.com has address 75.101.145.87
example.com has address 174.129.212.2
I've also activated the forwarding from the GoDaddy main menu.
Ok, if I try host example.com with my domain, all is ok.
But, when I try with the browser, I get this:
Heroku | No such app There is no app configured at that hostname.
Perhaps the app owner has renamed it, or you mistyped the URL
I tried also with the command heroku domains:add yourdomain.com
but this create a second instance of my app, it doesn't redirect it to the full domain www
Heroku highly advises against using A-records to point domains at cloud apps. Using A-records increases the chance of instability for DNS resolution. Heroku goes into details here.
Instead, you should redirect your naked domain to the 'www' subdomain. You can refer to this SO thread for more details on how to set that up on GoDaddy.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My ISP keeps on giving new ips every time i connect to the internet. I have no LAN specified and don't need one as of now. Is there any way with which i can have a static ip of my system every time i connect to internet i.e. same public ip every time?
EDIT: See i have a small company and have systems there but no LAN as of now. Now i want certain documents (saved on my internet server) to be opened up in my office only. But my office ISP gives new ips everytime that is why i need a solution with which i can assign static ips to those systems and can restrict that document to be opened up only on those office systems.
If you really NEED a constant IP for your computer, you can always ask your ISP for one, though this cna be a very expensive service.
Another option is to "simulate" this behavior through a dynamic DNS service, such as www.no-ip.com or http://dyn.com/dns/. It associates a domain to your computer (something like iamtheguy.no-ip.com).
This usually requires to install some software on your computer, so that every time your "real" public IP changes, this is notified to the external dynamic DNS server.
It's not possible to "set" your ip to a static one. But you could use a service like DynDNS.
You should take a look at something like this DYNDns
Look at localtunnel.
Looks nice. Also, I found it awhile ago reading this interesting stuff.
Ask your ISP for a static IP - I pay £5 (GBP) per month for mine.
The only other way, if that isn't an option, have your webservice require a username / password when the request comes from an IP that isn't current - This then updates your app to automatically allow requests from the approved IP.
If your IP changes then you'll need a username / password to access again.
However, with this I'd use a strong cookie as well, so that the next person who get's assigned your old IP can't access it for free - i.e. you need both the correct cookie and IP address to access without a username / password.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Background
I'm using a single server in my home network that runs Windows SBS 2011. It services Active Directory, IIS7 and DNS services.
Currently I can change how my domain (mydomain.com) looks on the Internet using the "Default Web Site" website. However when I create additional websites (blog.mydomain.com) in IIS Manager, they are not showing up on the Internet.
Question 1: Is it possible to set up two subdomains with 1 IP address in Windows IIS7?
Can I make it so www.mydomain.com and blog.mydomain.com are both public on the Internet?
Question 2: How do I go about setting up the subdomain blog.mydomain.com?
In IIS Manager, I'm using Sites > Default Web Site for www.mydomain.com files. This is working for me and I can create and set up index.html and build the website.
For the subdomain, after I add a website, what settings do I need to change:
- What settings do I need to have for the website
- What records do I need on the server DNS
- What records do I need on the domain DNS
- What other settings do I need to change?
Yes, this can be accomplished.
You use the "Bindings..." option In IIS7 for configuring the domain/subdomain for each website.
This is a way you could set it up:
Make sure you have two websites in IIS7. One is set to the root of your website directory, another one set to the root directory of your blog platform.
Your website has the binding configured like this:
www.mydomain.com using Port 80
The blog site has the binding configured like this:
blog.mydomain.com using Port 80
Q1: yes
Q2: Create two websites, ignore the default web site. One for www and the other for blog. On the new website screen specify the Host Name accordingly, i.e. www.mydomain.com for the first site and blog.mydomain.com for the second. Keep the port 80 for both. Later you can change these settings in the website Bindings screen.
What this basically does it associates names with different websites so when requests come to your server on the same IP IIS knows to which website to dispatch the request.
The default website in IIS, because it has no Host Name, will handle all the requests that are neither for www or blog subdomains.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am looking for a reliable service that has a good database of the hosting providers vs domain names. I guess some of the domains that are privately hosted cannot be resolved to a definite hosting provider (maybe just to ISP).
I have used webhosting.info (their power whois and advanced whois) which used to give hosting information(not sure) earlier but not anymore. I looked at domaintools.com but couldnt find anything like that in their tools.
I guess I could do a reverse IP on a domain and go to arin.net and get the org name.
But looking for a free (or paid service) that can do bulk lookups or any reverse dns tools that you recommend or use.
Majority of websites use DNS server provided by hosting company, but you can use any other DNS server to resolve your domain names. So looking up by IP address allocation data is the best method.
Here is a site which does it for you:
http://www.whoishostingthis.com/
If you have access to a Linux machine, you can use jwhois on the IP address. So you'd need to resolve the hostname to IP address (which you could do using ping, if you wanted to use a shell-script) and then jwhois the IP address, which will (usually) automatically look it up in ARIN / APNIC / RIPE as appropriate. It's not 100% accurate, but it almost always works.
Alternatively, you can buy access to the GeoIP database.
I go to www.domaintools.com and enter the domain name in the Whois lookup.
When their Whois record shows up, look at the Name Server. It tells you who the hosting company is, and as an added bonus, also tells you the number of domains at that host.
I don't know if they have any bulk services though. I've only needed one at a time lookups.