+ Reply to Thread
Results 1 to 6 of 6

Thread: Server files' domain(s) question

  1. #1
    lostcommander's Avatar
    lostcommander is offline x10Hosting Member lostcommander is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    United States of America
    Posts
    52

    Question Server files' domain(s) question

    If we have a parked domain, how can we tell which domain our files are in/under?

    Do we need to do anything since the recent data center move to re-identify domains?

    I am asking these questions because I had phpBB + WordPress + WP-United installed and working a month ago and have had to re-install stuff because of issues. When I was reinstalling though, I encountered this warning/error which I had not before and am trying to discern what it means.

    Code:
    WARNING: The Base WordPress URL you entered appears to be on a different domain or subdomain than phpBB.
    The one difference in installation from last time was that I did it all by hand before and used Fantastico for WordPress this time. Fantastico in cPanel correctly identifies the WordPress install as being in my parked domain. The phpBB install is still the original I did by hand and thus does not show up in Fantastico.

    This is confusing to me because, to my knowledge, nothing should be able to know the difference between user.x10domain.tld and domain.tld since they point to the same server, right? I have also never heard of how to create or use a sub-domain (not that I want to right now), so I might be missing some important information for understanding how this stuff works. Thank you very much for your time.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Server files' domain(s) question

    I believe that each of the software has a configuration file that sets the "official URL" of the site.
    Apparently one points to user.x10domain.tld and the other points to domain.tld and the install noted the difference.

    I would look at the configuration.php or settings.php file for the software and make sure it points to the "official URL" that you want.
    Nothing is always absolutely so.

  3. #3
    lostcommander's Avatar
    lostcommander is offline x10Hosting Member lostcommander is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    United States of America
    Posts
    52

    Re: Server files' domain(s) question

    Thank you, descalzo, for the suggestion. Unfortunately this was not the case as the MySQL database, the config/settings PHP files, and the administration control panels for both WordPress and phpBB specify www.domain.tld, as I believe they ought to.

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Server files' domain(s) question

    Quote Originally Posted by lostcommander View Post
    If we have a parked domain, how can we tell which domain our files are in/under?
    Mu. Files can be accessed through many domains, they are equally "in/under" all of them. The A1 and M1 both lead to London.

    Quote Originally Posted by lostcommander View Post
    This is confusing to me because, to my knowledge, nothing should be able to know the difference between user.x10domain.tld and domain.tld since they point to the same server, right?
    user.x10domain.tld and domain.tld might resolve to the same server, but they are different domains. Consider that the X10 servers are mostly shared servers; the host name of every site on your server resolves to that server, but they are still distinguishable as sites. Under the hood, this is done with name-based virtual hosts, which in turn depends on the HTTP "Host" header. WP and phpBB similarly check the Host header for incoming requests.

    The error indicates that either WP and phpBB are configured differently somewhere, or that you're using the wrong hostname in the URL when accessing a resource. I don't have enough information about what action is generating the error to say for certain, but the former is the most likely scenario, given the message. You'll need to keep digging through the configuration sources; check whether any config data is stored in a database. You can also go through the script that generates the error to see where it's getting its data.

    Quote Originally Posted by lostcommander View Post
    I have also never heard of how to create or use a sub-domain (not that I want to right now), so I might be missing some important information for understanding how this stuff works.
    A subdomain of a domain has the latter as a suffix. "www.domain.tld" is a subdomain of "domain.tld", "sales.wales.widgets.co.uk" is a subdomain of "wales.widgets.co.uk" and "widgets.co.uk". At the DNS level, a subdomain gets its own DNS records; it will likely have a CNAME or an A record. You can create subdomains in cPanel in a similar manner to creating parked or add-on domains. As for usage, you could alias "forums.domain.tld" to "domain.tld/forums".
    Last edited by misson; 04-11-2010 at 07:17 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  5. #5
    lostcommander's Avatar
    lostcommander is offline x10Hosting Member lostcommander is an unknown quantity at this point
    Join Date
    Apr 2009
    Location
    United States of America
    Posts
    52

    Re: Server files' domain(s) question

    GAH! ... Okay, finally resolved THIS issue:

    Fantastico auto-installed my stuff to domain.tld and I kept trying to use www.domain.tld because that is what I used before and I never even noticed that when I typed in an address www.domain... that it was dropping the 'www' part. *sigh*

    Thank you very much, descalzo and mission.

  6. #6
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: Server files' domain(s) question

    ***Moved to Scripts & 3rd Party Apps***
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

+ Reply to Thread

Similar Threads

  1. Question about uploading files
    By keyser318 in forum Free Hosting
    Replies: 6
    Last Post: 11-12-2009, 01:14 PM
  2. question reg large files
    By hathehariken in forum Free Hosting
    Replies: 2
    Last Post: 06-28-2009, 12:23 AM
  3. Question regarding MP3 files
    By Statico in forum Free Hosting
    Replies: 3
    Last Post: 10-09-2007, 01:39 PM
  4. Replies: 1
    Last Post: 10-03-2007, 01:50 PM
  5. Question about including files
    By Aria5 in forum Free Hosting
    Replies: 2
    Last Post: 03-20-2007, 03:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers