1
appraisalguy
Addon Domain Refering to Main URL

First attempt through Fantastico I stopped because it was version 2.4.4. So I cleared out the domain and uploaded the htdocs. Install went fine, took a few minutes to figure out that I had to go through http://www.tlstreet.com/streetappraisal.net to get it to install but it did.
I have 2 questions, the first is why can I only access the site at http://www.tlstreet.com/streetappraisal.net/ when it was installed to a add-on domain? Shouldn't I be able to go to http://www.streetappraisal.net ?? The main site is http://www.tlstreet.com (Indexhibit Site) with 2 add-on domains of http://www.streetappraisal.com (Indexhibit Site) & http://www.streetappraisal.net (Xoops Site). Why is this URL messed up?

Second question is their any manual published showing how things work after install? Kind of like the install manual which was so well written, I want something that shows you the basics of how things work, are setup, how to install modules, how to edit, things like that?

Xoops 2.51
Php 5.2.13
MySQL 5.092-community

2
Mamba
Re: Addon Domain Refering to Main URL
  • 2011/4/14 18:23

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


It seems like your domain http://www.streetappraisal.net/ doesn't point to the right directory, because you've installed it directly from:

http://www.tlstreet.com/streetappraisal.net

In order to fix it:
a) make sure that you point your domain http://www.streetappraisal.net/ to the right directory on your server
b) modify your mainfile.php to say:

define('XOOPS_URL', 'http://www.streetappraisal.net');

or reinstall XOOPS again, but this time directly from http://www.streetappraisal.net

Quote:
Second question is their any manual published showing how things work after install?

See here:

https://xoops.org/modules/news/article.php?storyid=5866
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
appraisalguy
Re: Addon Domain Refering to Main URL

Thanks for the help, I have tried B thinking that was causing the trouble. I'm not sure what you are talking about with A. I am pretty new with all this stuff, just trying to learn but how would I point my domain to the right directory? Wouldn't that have been done when I created the add-on domain?

If it is easier I might just start over, do a little more reading on the CMS, thanks for the manual link. I just came across Xoops and really like it.

But may I ask what path to install after I delete everything and re-upload htdocs. The only way I could access the install file was by going through http://www.tlstreet.com/streetappraisal.net. I was either getting a 404 error or something (can't remember) when going through http://www.streetappraisal.netto find the install file.

4
appraisalguy
Re: Addon Domain Refering to Main URL

I deleted everything and uploaded the contents of the htdocs into http://www.streetappraisal.net But I am getting a 404 not found error when I try to access that add-on domain. I ran the checksum script but I had to use http://www.tlstreet.com/streetappraisal.net all was fine except:

./class/mail/phpmailer/language/phpmailer.lang-fo.php content invalid
There are 2871 files checked.

Any suggestions?

5
Mamba
Re: Addon Domain Refering to Main URL
  • 2011/4/15 2:45

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


I went to your site and got this notice.
Quote:
The server at http://www.streetappraisal.net can't be found, because the DNS lookup failed. DNS is the web service that translates a website's name to its internet address. This error is most often caused by having no connection to the internet or a misconfigured network. It can also be caused by an unresponsive DNS server or a firewall preventing Google Chrome from accessing the network.

It seems like there is a problem with your host/domain setup. I suggest to go to your host provider so they can set it up properly for you.
After they confirm that it is properly set, then install XOOPS.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

6
appraisalguy
Re: Addon Domain Refering to Main URL

Thanks Mamba for looking at this, like I said this is all new to me. I had already setup one other add-on domain and this one setup the same or at least I thought it did but I will try setting it up again and if it does the same thing give them a call. The more I read about this CMS the more I want to get it up and running, it would be perfect for a local project that I want to get started. Thanks for your time.

7
wishcraft
Re: Addon Domain Refering to Main URL

OKey for the first instance your addon domain has to point to the public_html directory of the main site.

You will need to set your Name Service to be the same on both services for your hosting provider. The next step is to multisite your mainfile.php which means you need to change the XOOPS_URL to the following this will allow for a dynamic URL to be based on your xoops site.

Line 53 would read as follows:
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://127.0.0.1/2.5.0');
    
define('XOOPS_URL'$http.$_SERVER['HTTP_HOST'].'');


If your URL has a trailing director, say /public for http://www.yoursite.com/public then the code would on line 53 would read as follows:
// XOOPS Virtual Path (URL)
    // Virtual path to your main XOOPS directory WITHOUT trailing slash
    // Example: define('XOOPS_URL', 'http://127.0.0.1/2.5.0');
    
define('XOOPS_URL'$http.$_SERVER['HTTP_HOST'].'/public');


You may also want to use multisite module from my site this will allow you to control aspects of each site with the capabilities of having blocks and other features on particular domains or subdomains.

You can get multisite from here: Multisite module 1.40

Once your DNS is set the same and the addon domain has been added remembering they both need to point to the same XOOPS_ROOT_PATH which is oftern on cpanel the /home/yoursite/public_html path you should have your multisite running fine.


Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

8
appraisalguy
Re: Addon Domain Refering to Main URL

Thanks wishcraft, I have been looking into that module I think once I get things going it will be perfect fit for my plans.

This whole issue was caused by my host changing the name servers. It has been awhile since I last was messing around with sites and I contacted them today to find out that any new domains must use a different name server than I was originally assigned. It would have been nice of them to send me an email or not allow me to create the add-on domain.

9
appraisalguy
Re: Addon Domain Refering to Main URL

Well atleast I thought the issues with the servers would correct my install. But I am still trying to work with the host to figure out why I can't access the .net domain. After I had changed the name servers I deleted that domain and made a new one, copied the xoops files from a directory out on the root and no access, 404 error. I then wondered if the .htaccess created by the Indexhibit install was causing issues.

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteRule ^(.+) index.php

I removed the code above and tried it blank, the server starts with a blank one. Both the Indexihibit sites run fine (atleast they seem too) with or with out any code in .htaccess file. So my next idea was to delete the xoops files and upload the Indexihibit files, so the htaccess file would have the code above in it but I still can't access the .net domain.

Either the addon domain is not pointing to the public_html as wishcraft says, I don't know how to check or the name server still has issues but I have double checked them.

As none of these sites really matter, I am just trying to learn for now. I could delete everything and try installing the xoops to the add-on domain first.

At a loss, and hope the host sees something.

10
Mamba
Re: Addon Domain Refering to Main URL
  • 2011/4/16 21:26

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


You need to work with your host on that.

You delete all the XOOPS files for the time being, and create a simple index.html file with some content, like "This is working OK"

You should be able to go to URL and this text should show up.

If it doesn't show up talk to your host people.

Once it's working, then copy all the XOOPS files there, and it should start with the Install" screen.

If it doesn't, then the host might have problems with PHP not kicking in.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

Login

Who's Online

436 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 436


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits