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 8015229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:11:49+00:00 2026-06-04T20:11:49+00:00

I am on the way of building a SaaS application using Zend Framework on

  • 0

I am on the way of building a SaaS application using Zend Framework on PHP. Here is the basic information of the project. Its Project Management System on SaaS model. When the user registered on the site, they will get a domain name like the format:

user_name.pms.com

user_name – The chosen User Name when the user registered on the Project Management System (pms)

pms.com – is the main SaaS Server.

Currently we provide the Sub Domain on our Server. And for big firms, it won’t look good and they may prefer to get their own domain instead of this default one. So there may be:

user_name.pms.com [Always Present]

user1.com [ The custom or independent domain of the User ] This custom domain needs to link into the default user url.

The full website is planning to develop using Zend Framework.

On Zend Framework, we are having following HTAccess on the root folder for its working and is below:

SetEnv APPLICATION_ENV development
RewriteEngine On
RewriteRule .* index.php

Here are my questions:

  1. Do I really need to create Sub Domain like profile url for all users once they registered on the site ?

  2. If it need to create Sub Domains, can PHP check whether the chosen sub domains exists or not and can create Sub Domains from the Script itself ?

  3. If there is no need to Sub Domain, can we achieve the same goal using HTAccess in Zend Installation ?

  4. Can you provide the HT Access code which does the following:

“user_name1.pms.com” need to redirect to “pms.com”

“user_name1.pms.com/contact” need to redirect to “pms.com/contact”

ie any request on the Sub Domain like URL must redirect to main website with the format: pms.com followed by Query String.

Very Important:

Important 1:

When I said the redirect to main website, I need to keep the sub domain like URL on the address bar but the request will be served by main website.

ie “user_name1.pms/contact” is going to be served from pms.com/contact but on address bar we still see the url “user_name1.pms/contact”

Important 2:

Whenever we uses the HTAccess to redirect the request to main Zend Server, can I identify the actual url entered on the address bar ie “site1.pms or site1.com” ?

Another Question of Custom Domain Redirection:

The custom domain name like “site1.com” or “site2.com” need to redirect to either:

Option (a): “pms.com”
Option (b): “site1.pms.com

to serve the request. Here also, I need to keep the url on address bar same like the one user entered.

  1. Which above option is better (a) or (b) ?

  2. Which technology does this work, domain mapping or CName ? Or Any other technology for make this working.

  • 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-06-04T20:11:50+00:00Added an answer on June 4, 2026 at 8:11 pm

    The sub domains can be handled using some technique in CPanel. To add vurtual sub domains from CPanel, do the steps:

    1. Select “CPanel – Sub Domains”
    2. Enter star and choose your domain name
    3. Choose the directory to which you need to redirect

    And handle the redirection from your page.

    To develop a SaaS application using Zend, check the tutorial SaaS application development using PHP in Zend Framework

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

Sidebar

Related Questions

I'm building my project with maven so according to maven way, config should be
I am building a .NET MVC web application. Is cloud hosting the way to
I'm part way through building a fairly complex HTML5 web app, that retrieves its
Almost every new Java-web-project is using a modern MVC-framework such as Struts or Spring
I'm building SaaS application where back end will be SQL Server and WCF Services.
I'm not sure if this is a bad way of building an application but
I am building an application and the easiest way to set up a main
Is there an alternate way of building an entity framework assembly (i.e. with csdl,
I am currently considering the best way of building a relatively complex page in
I've encountered a problem where part way through building a solution, VS 2010 becomes

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.