I created an ec2 instance and installed apache tomcat on that instance.
I have my java and html code on that apache 8080 server. I want to host the html folder of the code to godaddy. The address for the index page will be something like:
amazonPrivateIp:8080/abc/html.
How can I make godaddy direct my domain directly to this part of the instance?
Related
I installed openshift origin (one node cluster) on ubuntu server hosted on vbox on my local machine, I need to access it through web using its IP from my host machine(client) but it always redirect my Ip to local host 172.0.0.1, how to overcome this?
sudo oc cluster up --public-hostname=YourMachineIP
I have an application that connects to a domain using port 3306 (MySQL) and port 21 (FTP).
I've had to move the MySQL hosting to another server (AWS) and need to keep the FTP server as is.
Now the problem I have is that the application doesn't allow you to specify a different server name for each service so it's trying to connect via FTP to the MySQL server in AWS.
Is there any way to setup Windows to redirect certain ports only to a different IP?
Is there a way to set up the new server to bounce FTP requests back to the older server?
Alternatively is there a way to setup the domain DNS to point MySQL port requests to the MySQL server?
One of the ways to fix this is, install a TCP proxy server (Eg. nginx, haproxy) on the new server and pass the request to the old server based on the request type.
Hi I'm new to website development and I am trying to configure a number of websites from my home based server using Apache2 and Linux Mint.
I have setup three new websites in addition to the 000-default page.I have created the Virtual Host config files in sites-available and have added the sites to Host.conf. Internally(on the server in a browser) they are all working fine - I can access all four sites using localhost or the URLs I've configured them with -tested with and without the www. prefix and all seems fine. The four sites are just basic HTML scripts with different headers and different one line body.
I've added Listen 8090 to Listen 80 on my ports.conf file and have opened port 80 and 8090 on my firewall and have updated Port Forwarding on my router and tested they are open using PortCheckTool. The two ports are open and every other port is locked out so that seems good too.
I've tried to configure a GoDaddy domain name to direct activity to one of these sites. The domain name that works internally (on the server in a browser) is the same as my GoDaddy domain name I've bought. I've been into my GoDaddy account and pointed this domain at my external IP address (tried also adding port to forwarding 8090 as well as leaving port number as default). However when I access this domain from my mobile phone using 3G with WIFI turned off I just get sent to the 000-default homepage.Same using default Port 80 and with Port Forwarding to 8090. I have script for both 80 and 8090 in my site config files in sites-available directory.
So the connection is getting to the server, ports are OK, it's just that apache2 doesn't redirect the GoDaddy traffic but redirects fine locally on the server for the same site!?
Any ideas what I am missing?
Any help would be much appreciated.
Thanks.
I have a domain in bigrock and Ihave ec2 instance running on aws with elastic ip.
Over there I have instantiated tomcat server and it has my website files in its htdocs folder.
I have managed DNS of bigrock to this ec2 ip.
So when I browse for my domain name in browser it launches tomcat home home page insteade of index.html file
So how can I load index.html file by default?
You can't point a domain name to a specific web page. A domain name points to a server. You have already configured your domain name correctly.
You have a few options:
Configure Tomcat to serve your application as the root context.
Place a reverse proxy like Nginx in front of Tomcat, and configure it to route requests to your Tomcat app.
I am trying to set up production and development environment for my web project hosted at Openshift PAAS.
I should be able to deploy my web application after final tests and changes to Openshift (production environment).
I set my development environment using GITHUB(Since I do not want other people to connect to openshift).
How do they can connect to Openshift MYSQL server hosted at cloud without port forwarding.
It is not possible to connect to the MySQL server that is hosted on your OpenShift application without using port forwarding.