?
Solved

cPanel/GoDaddy multiple domains WordPress

Posted on 2016-07-31
8
Medium Priority
?
32 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 84

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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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 84

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

Independent Software Vendors: 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

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Suggested Courses

752 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