Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to access my Apex application as a website

3dsApr 26 2015 — edited Apr 27 2015

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     www.my_website.com       ( 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 www.my-website.com

    ServerAlias my-website

    ErrorLog "logs/my-website.com-error.log"

    TransferLog "logs/my-website.com-access.log"

    Redirect / http://www.my-website.com/ords/f?p=100:LOGIN_DESKTOP

    <Location /ords/>

        ProxyPass               http://localhost:8888/ords/

        ProxyPassReverse        http://localhost:8888/ords/

    </Location>

    <Location /i/>

        ProxyPass               http://localhost:8888/i/

        ProxyPassReverse        http://localhost:8888/i/

    </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 www.my-website.com/ords/f?p=4550. This indicates, all the stack is working properly.

But if I access www.my-website.com, 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.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2015
Added on Apr 26 2015
3 comments
1,887 views