Solved

cPanel/GoDaddy multiple domains WordPress

Posted on 2016-07-31
8
28 Views
Last Modified: 2016-10-08
So I have installed one site which occupies the root folder. I'm trying to install setup a second but if I use the default settings in cPanel which are root when I look at the two different websites I'm actually looking at the same site. If I create a folder off of root, as recommended, then then the site is something like www.secondsite.com/newfolder rather than www.secondsite.com 

How do I set this up so I see www.secondsite.com as the address?
0
Comment
Question by:xmouser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41736775
That sounds like standard practice to me.  You have to tell the 'nameserver' which folder is the root for each site.  All of my web hostings including three on Godaddy have multiple sites in subdirectories off the main root and it is the DNS/nameserver that needs to know where the root directory for each site is.
0
 

Author Comment

by:xmouser
ID: 41736784
Dave: So I need to put in a forwarder?
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41736831
No, you need to set up the domain and nameserver correctly so it points to the correct sub-directory.  In my older accounts, there is an item called 'Hosted Domains' that shows the sub-directories used by the different domains.  It also allows you to add a domain to that hosting account.  In the Cpanel account, there is a page for 'Addon Domains' where you set the document root for the 'Addon Domain'.

These items do not require you to have Godaddy as the domain registrar.
0
Report: Liquid Web beats Amazon, Rackspace & More

A study by performance analyst firm Cloud Spectator finds that Liquid Web beats rivals Amazon, Rackspace and DigitalOcean when it comes to website and cloud application performance.

 

Author Comment

by:xmouser
ID: 41738038
Dave: The document root is / for the first domain. Then as I add domains it asks me if I was to add a folder for the file that append the root - /seconddomain, if I do this then the URL is www.firstdomain.com/seconddomain, if I ignore this and accept the default I see both the first domain and second domain as the same address/template.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41738162
Sorry, you're doing it wrong then.  I have a dozen or so extra domains on my hosting accounts and when I add them, I put in the subdirectory that they reside in and the DNS/nameservers find them without the name of the main domain.  I can however, go to them using the method you describe because they are in subdirectories.
0
 
LVL 2

Expert Comment

by:Marcos_Cardoso
ID: 41764035
What is your host, "economy", "deluxe" or "ultimate"?
0
 

Author Comment

by:xmouser
ID: 41832869
Still looking at issue.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
MediaWiki - Move a site 4 55
WordPress Page Content Lost 2 49
SPF settings for 3rd party IPs 8 77
ReadyAPI 1.9.0 2 42
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question