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

  • SEARCH
  • Home
  • 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 4023900
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:39:18+00:00 2026-05-20T10:39:18+00:00

I want to create a web site builder. What I’m thinking is to have

  • 0

I want to create a web site builder. What I’m thinking is to have a one server as the main web server

my concept is as follows

1 – user enters url (http://www.userdomain.com)

2- it masks and redirect to one of my custom domain (http://www.myapp.userdomain.com)

3 – from the custom domain (myapp.userdomain) my application will identify the web site

3 – according to the website, it will render pages

my concerns are,

1 – is this the proper way of doing something like this (online web site builder)

2- since I’m masking the url i will not be able to do something like

‘http://www.myapp.userdomain.com/products’

and if the user refresh the page it goes to home page (http://www.myapp.userdomain.com). how to avoid that

3- I’m thinking of using Rails, liquid for this. Will that be a good option

thanks in advance

cheers

sameera

  • 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-20T10:39:19+00:00Added an answer on May 20, 2026 at 10:39 am

    Masking domains with redirects is going to get messy plus all those redirects may not play nice for SEO. Rails doesn’t care if you host everything under a common domain name. It’s just as easy to detect the requested domain name as it is the requested subdomain.

    I suggest pointing all of your end-user domains directly to the IP of your main server so that redirects are not required. Use the the :domain and :subdomain conditions in the Rails router or parse them in your application controller to determine which site to actually render based on the hostname the user requested. This gives you added flexibility later as you could tell Apache or Nginx which domains to listen for and setup different instances of your application as to support rolling upgrades and things like that.

    Sounds like this was @wukerplank’s approach and I agree. Custom router to look at the domain name of the current request keeps the rest of your application simple.

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

Sidebar

Related Questions

I want to create an ASP.NET web site. I have not been using ASP.NET
I want to create a simple transaction on my Web Site where after the
I want to create a Subversion repository in my hosted site web space. Is
I want to create site thumbnails through my web application, so I thought I
I want to create a web site with pure PHP. I want to hide
I want to create a service that allows diverse web site owners to integrate
In my PHP web site, i want to create a file uploading progress bar.
I have a mvc web site that contains one non-mvc page (it is using
I have create a web site and I need to read data which is
I want to create a web site in my setup project using Microsoft.Web.Administration.ServerManager.Sites.Add method,

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.