Static IP address of Openshift app [closed] - php

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 9 years ago.
Improve this question
How to find static IP address of my non scalable app(free tier). I need it for My dns management A(HOST)entry field.any rhc window command

If you're trying to set Custom URL name for your OpenShift app, I suggest editing CNAME record instead of hard-coding the A record.
Edit the CNAME record of your domain to point to <app>-<namespace>.rhcloud.com
Run rhc alias add <app> <domain> command (OpenShift creates new VHost for your domain)
Wait for the DNS to get propagated (how long does it take)
Read Custom URL names for your PaaS applications (host forwarding and cnames) blog post for more information.
If you really want to know the IP address of your app, you can print it using OPENSHIFT_<cartridge>_IP environment variable:
rhc ssh <app> 'echo $OPENSHIFT_PHP_IP'
See the full list of environment variables exposed by OpenShift platform.

Related

How to transform an Android device into a Web Server [closed]

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 2 years ago.
Improve this question
I would like to install a server (with php and MySql Database) into an Android device and then make it accessible from the Internet with an URL. Is there a way to do it without any port forwading?
You can install that all but your server will not be reachable without port forwarding from the internet if the device uses wifi.
Also if the internet connection is done using a sim card it will not work. This time because your provider will block incoming connections.
Only with a client on the same local lan network it will work out of the box. –

Show content from internal ip's on a custom sub domain ?

Closed. This question is not about programming or software development. 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 2 days ago.
Improve this question
I'm trying to recreate what Amazon, Rackspace, etc. have done (sort of) where :
A. Virtual Machines can be start pretty much via a php command(post, socket, whatever)
B. Each machine is associated with an account of sorts, so it also has it's own little domain.
"B" is where I would like help. What are some techniques to map vm's to a custom sub domain?
I can currently start a vm using vagrant, but I'm not sure how to display it's content (make the assumptions these are web server vm's)
I also know you can map something like "bobspickles.domain.com" to "domain.com/action.php?name=bobspickles" , but I'm not sure if I can use this technique to render whatever internal ip address's content as a result... help?

Can subdomains point to different server platforms? [closed]

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 8 years ago.
Improve this question
I have a website which is developed using asp.net. I have created a new module which is in PHP. Without disturbing the main site I need to host this site.
Is it possible to host like that or not?
Example:
www.vidhyaprakash.com - aspx
account.vidhyaprakash.com - php
Sub domains like domains are just IP addresses with names (or rather names that point to IP addresses). The DNS can be configured to point to any IP address.
You may need to ask your provider to do this for you. They set up a CNAME.
I personally have my web hosting on my main domain, but I have a subdomain which points to a gaming server.
EDIT:
A trick for example, is to have a domain or sub domain which points to a DYN server, which in turn points to a server with a dynamic IP.

How to setup remote php on my server? [closed]

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 9 years ago.
Improve this question
I made a PHP based webapp and a customer of my needs it on his website. Now I want to put the PHP code on my server and let the customer's website include it remotely. How do I set this up? And can I restrict the acces when the customer doesn't need the app anymore and is it secure?
There is nothing such as remote PHP. Doesn't work that way. However you can setup some API to communicate between the two servers on backend. You'd still need both servers to be capable of this interaction, that means both servers still need to be fully functional. And if your code on client's server can talk to your API on host server, then they can take that code and see how it interacts with your host and replicate it.
A very simple solution would be to put the PHP-generated content from your website in an <iframe> on their website.

url mapping in amazon ec2

Closed. This question is not about programming or software development. 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 yesterday.
Improve this question
I am working on a site with amazon EC2 instance, We have created two instance lets EC1 and EC2. on EC1 we have our website which we have mapped with www.example.com. and another instance EC2 has our main application. now what we want is that if anyone type www.example.com then it should be redirected to EC1 instance and let if he types www.example.com/anyThingHeTypes then he should be redirected to EC2 instance. Is it possible with Amazon instances? if Yes then please help us guys
This is much easier to do with subdomains. Since DNS can send traffic directly to the second instance. If you want to do it with a folder, than you need to configure your webserver to be a reverse proxy to instance 2.

Categories