I would like to forward all requests for domain.net to domain.com. The forwarding works only for the top level URL, meaning the server redirects domain.net to domain.com.
However, any and all sub-domains requests fails; for example, domain.net/sub/content.html would simply pop a NOT FOUND page. There are many such sub-domains, and links to them have been well-propagated through the past five years. Creating individual forwarding scripts for each and every one of them would be very unproductive.
Is there any way to catch such sub-domain requests for domain.net and simply forward them all to one specific sub-domain page in domain.com?
For example:
domain.net/sub1/content.html => domain.com/netpage/index.html
domain.net/sub2/content.html => domain.com/netpage/index.html
domain.net/* => domain.com/netpage/index.html
Thank you.
EDIT: Both the domains and their contents are on a shared webhost (Site5), running Apache servers.