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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:03:51+00:00 2026-05-27T17:03:51+00:00

Currently, user profiles are in the format of website.com/username which is fine. However, some

  • 0

Currently, user profiles are in the format of website.com/username which is fine. However, some heavier users wish to use custom domain names. This is similar to Tumblr. Users are given a subdomain of username.tumblr.com but they are allowed to use an external domain which gets mapped to the subdomain. How do I go about this in PHP? Allowing users to use custom domain names?

Thanks so much in advance for the help!

  • 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-27T17:03:52+00:00Added an answer on May 27, 2026 at 5:03 pm

    You can use the following examples:

    Basic PHP:

    How to let PHP to create subdomain automatically for each user?

    CodeIgniter:

    http://net.tutsplus.com/tutorials/php/basecamp-style-subdomains-with-codeigniter/

    Zend Framework:

    Query regarding subdomain redirection in Zend Framework

    $routeitem = new Zend_Controller_Router_Route_Regex('(.*)',
                        array(1 => '', 'controller' => 'redir', 'action' => 'view'),
                        array(1 => 'hash'),
                        '%s'
        );
    

    Drupal:

    http://drupal.org/node/146344

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

Sidebar

Related Questions

I currently have a user's table which contains a one-to-one relationship for Youtube OAuth
On my website I would like to include a radius search for user profiles,
I have 2 models Users(devise gem) and Profiles where class User < ActiveRecord::Base has_one
I use a VB6/COM+ application which outputs date/time values based on the short date
I would like to access profiles table from my Profile model which belongs_to :user
I'm currently developing a web application using MYSQL database InnoDB format and need some
I'm using django-avatars to handle user profile avatars for my website. I'm currently developing
I currently have three classes User , UserProfile , and Vendor . User is
I'm currently using: @user = User.find(params[:id]) @posts = Post.find(:all, :conditions => [user_id = ?,
In the system there is a singleton for currently logged user (our own user

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.