Login Try it Free

Dedicated IP Addresses for App

Chris Aug 06, 2012 02:39PM MDT

Hello,

My application is a WordPress Multisite installation with domain-mapping. I need a dedicated IP address for my application, so when users change their A records to point to my IP address, it will land on my apps index page and be able to route the domain to the proper blog internally.

I have set up an SSL certificate, so my domain alias has a dedicated IP address, but when I visit the IP address I get the message "Hmmm, Unknown App".

How can I have the IP address land on my application's index page?

Regards,
Chris

Up 6 Rated Down
Scott Aug 06, 2012 02:45PM MDT Pagoda Box Agent

All apps without SSL point to the same IP address, the IP address of our Routing Mesh. In order for the routing mesh to be able to route the request to the proper app, you must register the domain as a DNS alias under the DNS/SSL tab of your app dashboard. So if two of the sites in your app are appone.com and apptwo.com, you need to add both as DNS Aliases. This will allow the routing mesh to properly route the requests to your apps. Once the request hits your app, domain mapping will kick in and the corresponding site will load.

Up 0 Rated Down
Chris Aug 06, 2012 02:53PM MDT

Thanks for the quick response!

The service I am building is similar to WordPress.com, where people can create blogs on the fly. They will, by default, be assigned a subdomain of my site (i.e. newblog.mysite.com).

However, I am also allowing users to point their own domains to their newly created blog. The way it currently is set up I will have to add each user's domain as an alias; I could potentially have hundreds of blogs being registered every week in the future so this needs to be automated.

I need my application to have a dedicated IP so when users point their domain to my server it loads the index page and then gets the requested URL and serves the appropriate blog to the user.

Up -4 Rated Down
Scott Aug 06, 2012 03:00PM MDT Pagoda Box Agent

Right now, this process can’t be automated, but we will be releasing a public API in the future that will allow you to automate all the functionality in the dashboard. In the mean time, you’ll have to manually add all the domains that could potentially be routed to your app.

The IP provided in your app dashboard will not change. It is the static IP of our routing mesh (50.97.141.37). All requests to a Pagoda Box app without SSL will go to this IP. When you add SSL to a DNS Alias, that alias get’s a dedicated static IP, but that shouldn’t be necessary in this case.

Up 0 Rated Down
Chris Aug 06, 2012 03:25PM MDT

Thanks for the info.

I added an SSL certificate so I have a dedicated static IP for my domain alias. But when I visit that IP address (rather than the domain) I get the "Hmmm, Unknown App" error.

Is there any way for this dedicated IP to route to the index of my application?

Up -5 Rated Down
Scott Aug 06, 2012 03:32PM MDT Pagoda Box Agent

That’s because our routing mesh relies on the request URI to direct the request to the proper application. A raw IP can’t be routed correctly. It needs a DNS alias that has already been registered in the system.

This question is closed to new answers.

Contact Us