Solved

cPanel/GoDaddy multiple domains WordPress

Posted on 2016-07-31
8
29 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
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!

 

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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

724 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