Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
How to access my Apex application as a website
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- How to access my Apex application as a website
How to access my Apex application as a website
26-04-2015 6:23 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
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 PlusNet ).
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 is 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.
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 PlusNet ).
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 is 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.
Message 1 of 2
(4,396 Views)
1 REPLY 1
Re: How to access my Apex application as a website
28-04-2015 10:27 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: 3ds 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 is forwarded to 111.111.11.11 which is my static IP)
Is the DNS definitely configured correctly? Does a lookup of your web address return the correct IP?
Quote from: 3ds Why can't I access my Apex application over the internet by typing the website.
It sounds to me like either a DNS issue, or Apache misconfiguration.
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 2 of 2
(1,184 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- How to access my Apex application as a website