Solved

cPanel/GoDaddy multiple domains WordPress

Posted on 2016-07-31
8
23 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
  • 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
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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.
The viewer will learn how to dynamically set the form action using jQuery.
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.

863 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now