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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:36:24+00:00 2026-06-15T21:36:24+00:00

Background I have a web application that I host on my own server. I

  • 0

Background

I have a web application that I host on my own server. I have clients who use the application as is, but some have asked if they can ‘host’ the application on their own server. This enables them to have their own URLS rather than mine. The application only forms part of their website so I’m assuming it will not be possible for my server to respond to a direct call to their domain etc

To give some examples, i currently have urls like www.mydomain.com/profile, www.mydomain.com/index.php?option=someoption&view=someview&id=1 What my clients’ want is www.theirdomian.com/profile, www.theirdomian.com/index.php?option=someoption&view=someview&id=1 etc

Question

My question is, what is the best way for me to allow them to use their own URLs with my application, without giving them all the backend source code and databases to install on their server?

I dont really want to allow them to ‘host’ my application. But do want to enable them to use their own URLs, without having to modify anything on my server.

One way I thought would be to create a router.php file that sits on their server. When a link is clicked on the clients site, the router receives the request and modifies the url to get the data from my server etc. The route them outputs the html source back to the clients site via the calling URL.

Is this an effective way to achieve what I want, or is it way off the mark.

  • 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-15T21:36:25+00:00Added an answer on June 15, 2026 at 9:36 pm

    First of all, the links in your site should not be hardcoded. If you have hardcoded www.mydomain.com/... everywhere… good luck getting it out of there. You should use URLs relative to the server root, e.g.:

    <a href="/profile">
    

    For even more flexibility, use a helper that creates URLs relative to where the app is being run from instead of hardcoding any URLs. If that’s done, all you need to do to access the same site using a different domain name is to configure the web server so it accepts requests for the domain name and setup the DNS entry for theirdomain.com to point to your server.

    If that’s not an option, the guys running theirdomain.com should run a reverse proxy that serves your domain under their domain.

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

Sidebar

Related Questions

Background I have a web application that uses ISO-8859-1 encoding. When I pass parameters
I have an application that will have some presentations layer (web, mobile, wpf, wcf,
If I have an ASP.NET web application that has a SQL Server database, is
A little background: I have developed a web application in MVC3 that requires users
If I have a web application that needs to use a file, it presents
I have this problem; I'm currently doing some modification on a web application that
Background We have an asp.net 4.0 web application written in C# that calls a
Background - Visual Studio 2010, C#, .Net Framework 4.0 application I have a web
I have to choose a font for a web application that produces a printable
Background Information: I'm part of a team of developers that runs a web application

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.