Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6649279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:45:17+00:00 2026-05-26T00:45:17+00:00

I have a website website1.com on Apache server developed using PHP and deployed in

  • 0

I have a website website1.com on Apache server developed using PHP and deployed in Apache Server.

Now I have implemented a new features/modules in Java and JSP technologies and deployed in Tomcat server.
Now what ever I have implemented in Java J2EE techologies should point to the subdomain of actual website website1.com and it should look like subdomain1.website1.com

Both Apache Tomcat and Apache Server resides in the Same machine.

Is that possible? if yes can you please help me how to do that ?

All the environment is set up on LINUX based Server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:45:18+00:00Added an answer on May 26, 2026 at 12:45 am

    You can try using a virtual host with a proxy pass rule. Core of the configuration would be:

    NameVirtualHost *:80
    
    # Default host to handle PHP and static content
    <VirtualHost *:80>
        DocumentRoot /var/www/www.website1.com
        ServerName www.website1.com
        # Other directives here
    </VirtualHost>
    
    # Tomcat redirector
    <VirtualHost *:80>
        DocumentRoot /var/www/subdomain1.website1.com
        ServerName subdomain1.website1.com
        # Other directives here
        ProxyPass / ajp://website1.com:8009
    </VirtualHost>
    

    Assuming you have enabled AJP connecter within your Tomcat configuration and that its running on port 8009.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed my website in a subfolder www.server.com/folder/index.php Is there any way to
I have this website iloveforwards.com created using drupal. I would like to have a
I have a large website at www.mydomain.com. There are 1000 new documents per month
I have 1 blog say xyz.blogspot.com ,now am uploading my own website,so I want
I have developed a website in Django, and now it must go into production.
I have my server's apache configured to redirect every request into index.php, so that
I am using apache solr search integration on my Drupal 6 website: govoluntourism.com .
I have a String with this content: href=http://www.website.com/ /> [...] [...] I just want
I have a website with three domains .com, .de and .it Each domain needs
i have a website that is being hosted on www.webhost4life.com. Its a basic asp.net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.