Multisite would be the easiest way to achieve this – assuming both sites are WordPress. There are other ways to achieve the same but they are more complicated.
You’ll find the instructions here:
http://codex.wordpress.org/Create_A_Network
Related Posts:
- How to use alias domain for multisite installation?
- How To Add Custom Form Fields To The User Profile Page?
- Why are my roles not visible in a Multi-site/Network?
- How to use same email for multiple users
- Where can I find documentation on what characters are allowed in user names and why?
- Is there a is_user_logged_in() for multisite?
- Multisite on Windows with wildcard subdomains
- Are nested subdomains possible with a subdomain multisite?
- Can a multisite’s blogs be accessible from two different sub-domains?
- WP Multisite development with Mamp Pro and wildcard subdomains, not really working for me
- WordPress Multisite allow site admin to add user without email confirmation
- wordpress multisite, how to keep user on subdomain throughout registration process?
- Network not displaying all sites and users
- WordPress Multisite – When a user signs-up on main site, how to add the user to a subsite
- Give to site admin the option to “skip confirmation email” when adding new user
- SSL wildcard issue for wp multisite subdomains
- What is the best way to load the WP environment in a subdomain of my multisite WordPress install?
- Wildcard subdomain for the same site
- Benefits or Problems for using Sub-Directory vs Sub-Domain install of WP Network
- Different back-end colour scheme for the different sites of a multisite
- Create multiple subdomains for multi-site from a database
- Set up collaborative site
- WordPress Multisite. Can domain be used instead of subdomain?
- Multisite: differences between subdomain and subdirectory mode? Can it be switch after installation?
- How to set up WordPress Multisite on multiple domains without plugin?
- NGinx + WordPress Subdomain Multi with core in Subdirectory
- Set subdomains live in a next step
- Transfer Subdomain site to Multisite setup
- How does WordPress connect sites and the wp_users table?
- Multisite installation combining subdomains and subdirectories
- How does wordpress multisite manage subdomains?
- Prevent user creating new users with specific roles
- Why can’t a WordPress network (multisite) in it’s own folder use subdomains?
- Multisite wordpress and subdomain URL collisions
- “Preview Changes” button doesn’t show changes for previously published posts/pages
- Subdomain multisite gives 404 on sub sites
- Allowing logged in users to comment without moderation across a multisite installation
- Add New Sub Site from the WordPress back end then in sub site options table option_value must be with https
- Can you have multi-site WP and keep users separate?
- Testing Multisites with vagrant or Can I use multisite with only an IP address (without domain name)
- Changing Multisite URL after the subsite has been in use
- How to add multiple existing users to a multisite site?
- the blog owner multisite
- How do I use different domain for subdomains in WP Multisite?
- Non-wordpress subdomains on Multisite Installation
- How can I get multisite primary blog (url or path) for current user?
- Sub-subdomain getting redirected to main domain
- Possible to create a multisite network where the main site is non-WP?
- On WordPress Network(multisite), Sub Blogs in Subdirectories or Subdomains? What’s better?
- How do I maintain static directories on multisite subdomains?
- Why can’t I delete original user in multisite? Options for manual removal
- Multisite Subdomain Using More Resources Than Others?
- Changing admin sub-domain in WordPress multisite
- Can I use multisite functions in a single-site installation?
- How to add edit users capability to a custom role?
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- Subdomain login problems
- Change multi-site installation from sub-domains to sub-directories
- How can I have multiple URLs pointing to single WordPress installation?
- In MultiSite, can some users automatically have Site Admin rights on all sites, without granting them Network Admin access?
- Not able to access dashboard of subdomain
- Wordrpess Subdomains (Multi-Site) without Wildcard
- How to Redirect login User with Mapped Domiain Primary blog Url to Original Sub-site Url
- Can I use two different domain names with a WordPress multisite network?
- WP MU – Accessing ‘Domain-Mapped’ WP-Admin with a subdomain
- Multisite setup on IIS with subdomains
- How can I delete a user from entire multisite nework
- delete_user_meta : how to delete all the metadata of a given user (witout SQL)
- Icon font not working on subdomains of multisite
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- How to search users globally on a multisite install?
- Login on Multiple Sub-Domains without Multisite
- How to run a subdirectory multisite install under a subdomain
- Child Site doesn’t appear in the Network menu
- Update User Role Across Network when Main Site User is Updated
- Assign role to user on first login, if they are first (after admin)
- WordPress Multisite/Network – How to use a subdomain as main blog and subdomain for child sites
- Get the User ID Who Owns a Given Blog ID in Multisite
- Make a user administrator to a sub directory site and a contributor to main site in multisite network
- Displaying a message upon user registration
- Query users by capability – uninstall/deactivate callback
- WPMU Development Environment
- turn single domain off
- Redirect subdomain in Multisite installation?
- How to change user starting role in WordPress MultiSite?
- problem with main site (root domain) redirects to subdomain (multisite)
- Enable wildcard in a WordPress Multisite (Sub-Domains)
- Multiple wordpress installations that shares WordPress & Theme but with separated database
- How to redirect one page on the subdomain
- WordPress Multisite Wildcard Subdomains on Plesk
- Multisite – One user allowed access to all sites?
- Making 2 WordPress sites mutually searchable and more
- Add a user to a specific blog when they register?
- How do you disable account activation in WPMU and then log the user in right away?
- Start with multi-site feature now or later?
- WordPress Multisite Question
- Multisite – 404 when accessing sub-sites
- Migrating wordpress multisite and domain mapping plugin
- Unable to apply theme to WordPress Network Site install
- Four columns in the wp_users table