Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to access my Apex application as a website

Status
Not open for further replies.

3ds

Programmer
Apr 26, 2015
2
GB
On my Windows 8.1 desktop machine, the stack is,
Oracle Standard 11g R2
Apex 4.2.6
ORDS 2.0.10
Open Source Glassfish 4.1
Apache Tomcat 8.0.21
Apache HTTP Server 2.4.3


Port details
-------------
Apex ORDS - 8080
Glassfish - 8090
Tomcat - 8888
Apache HTTP server - 9090


I have done Port Forwading to myDesktop on my home wi-fi as follows
-------------------------------------------------------------------
Apex ORDS 8080
Glassfish 8090
Tomcat 8888
Apache HTTP server 9090


Following is c:\windows\system32\drivers\etc\hosts
------------------------------------------------
127.0.0.1 localhost
::1 localhost
100.100.1.1 myDesktop ( This is fixed IP of the desktop at my home network. This is made up here )
100.100.1.1 ( This is fixed IP of the desktop at my home network. This is made up here )


c:\Program Files\Apache Software Foundation\Apache2.4\conf\httpd.conf
---------------------------------------------------------------------
Listen 80


c:\Program Files\Apache Software Foundation\Apache2.4\conf\extra\httpd-vhosts.conf
---------------------------------------------------------------------
<VirtualHost *:80>
ServerName ServerAlias my-website
ErrorLog "logs/my-website.com-error.log"
TransferLog "logs/my-website.com-access.log"
Redirect / <Location /ords/>
ProxyPass ProxyPassReverse </Location>
<Location /i/>
ProxyPass ProxyPassReverse </Location>
</VirtualHost>


When I access 111.111.11.11:8888 from outside, I can access Tomcat page successfully.
( 111.111.11.11 is my static IP provided by my ISP ).


Without internet, I can access the Apex Admin page on the same desktop machine by This indicates, all the stack is working properly.
But if I access over the internet, I only get blank page.
(my domain is registered with GoDaddy and I forwarded to 111.111.11.11 which is my static IP)
Why can't I access my Apex application over the internet by typing the website.
 
(my domain is registered with GoDaddy and I forwarded to 111.111.11.11 which is my static IP)


Have you Set the DNS 'A' records to your IP and forwarded port 80 at your router?

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Thanks for your reply Chris.

Atm, there are 2 records in GoDaddy > DNS Zone File > A (Host)
@ points to 50.63.202.19
AA points to 111.111.11.11

Is this right.
And how to set 'forwarded port 80 at your router'.
 
AA records are for IPv6 IPs (48 bit)

The @ indicates it is an ALIAS (CNAME record) to the 'AA' IP.

50.63.202.19 is a GoDaddy owned IP, do you have hosting set up at GoDaddy?

So you need to set your domain name 'A' record to your fixed IP. and add a CNAME for the pointing to domain.tld.

Godaddy DNS manager documentation[link]


Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
[url=http://webmaster-talk.eu]Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top