× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Point them to two different IPs/hosts.

I set up my DNS entries to point my hosted sites to my public IP. So on my
router I have port 443 mapped to one internal IP/port to handle SSL. Each
SSL site uses a virtualhost container and the ServerName directive to
specify which it's for (www.bvstools.com, www,fieldexit.com,
xxx.bvstools.com)

All other non SSL ports go to an Apache server that acts as a proxy,
directing each other domain to a separate internal IP/port depending on
it's use. Apache, node, etc. No problems there. I like this so each web
server has it's own instance/server running (I want to do this with SSL as
well, just haven't had the time to go over the docs others have provided).

Then I have docs.bvstools.com that points to a site hosted by Google
Sites. That's all set up in the DNS to point to google instead of my
server.

Your network guy should be able to figure that DNS part out.

On Sun, Dec 8, 2019 at 2:25 PM midrange <franz9000@xxxxxxxxx> wrote:

Have an old site like http://www.xyz.com and is only site in Apache conf
on i

Need to change it to add a subdomain "abc" to url so that it works as
http://abc.xyz.com

- and http://www.zyz.com will be hosted elsewhere



Network tech said it should be easy configuration change, but he doesn't
know Apache.

Reading the docs it seems this is either "virtual host" (there is not an
existing virtual host

or "RewriteEngine" in Apache.. Or both?

Do not want to have to change all the urls written by the cgi programs.



I haven't changed the Apache config in many years.

This is V7R3, and firewall and dns are external to system.

Power i only has a local 192.168 address.

Apache is only webserver, no Websphere or Tomcat.



Jim



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.