Don't know how to describe this anymore

Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-05 10:25:00

Words (and DH support) fail me at this point. I just do not know the terms to use anymore.

I have a joomla website. It can be reached at http://shirson.com/joomla.

It can also be reached at http://hestakaup.com which is what I want to use as an addressl. Not shirson.com/joomla.

But if you type in the hestakaup.com you get shirson/joomla. They are the same sites and normally it would not make a bit of difference, but I need to send links out and I need to make it search engine friendly.

I want a user to type hestakaup.com and get hestakaup.com, not shirson.com/joomla

DH support seems to be having a rough time of it lately (this past week). Any ideas?

Thanks

Re: Don't know how to describe this anymore

Posted by: jesnider
Posted on: 2006-10-05 11:09:00

When you added hestakaup.com to your domains in DreamHost, did you set it up as a redirect or as a mirror?

Also, your Joomla install might be doing the redirect as well.

I mean, like, you could have the mirror all set up to show the site at the hestakaup.com, but then the Joomla software sees the URL that's it's being displayed under and redirects.

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-05 11:14:00

As I cannot see your web panel, I can only "guess" at how you have set things up, but it appears you built the site at shirson.com/joomla. Is that correct?

Tell us "how" you have the panel set up so that "Hestakaup.com" displays shirson.com/joomla; did you use a redirect, did you re-map a sub-dir, did you "mirror"?

From there we should be able to sort you fairly easily.

--rlparker

Re: Don't know how to describe this anymore

Posted by: thinkdreams
Posted on: 2006-10-05 11:24:00

From looking at it from a WHOIS perspective, you host the shirson.com with Dreamhost, and you are essentially "forwarding" the domain from GoDaddy (your registrar for hestakaup.com) to shirson.com, correct?

Forwarding won't accomplish what you are after since it is just a hand-off solution, in other words, a forward just transfers to your other domain.

You probably want to look into .htaccess files and mod-rewriting to get what you want done.

-or-

You can also consider adding a new domain to your Dreamhost account using the hestakup.com name, and "mirroring" everything on both domains. Dreamhost gives you plenty of space to do this.

Thinkdreams.

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-05 12:10:00

I believe I set it up as a mirror, at least that is what I think it is now. I really don't know any more what happened in the fog of new software, but at one point I did have the proper name (hestakaup.com) but it came up as a frameset and I could not get the search engine friendly urls because of that. Always stayed frameset. It is when I went to correct it that things REALLY went south!

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-05 12:17:00

You are correct about the forwarding from GoDaddy. And it makes a lot of sense that I need to do something else. But what got me is whether it should be in the DH panel or the .htaccess files and/or the configuration.php

I've been burned! When I changed the .htaccess, my site went down and I had to go in with ftp and restore the file! Scared the hell out of me to actually lose the site! So now I have no idea of how to go about changing the .htaccess because that seems so much like a Joomla! thing particularly with the SEF components that have to be uncommented, etc. All over my head.

Thanks!

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-05 12:26:00

I built the site at shirson.com/joomla, yes and then I redirected (?) the name hestakaup.com over from the TypePad site where I was developing the Flash videos.

I would send you a screenshot of the panels if I could figure out how to send an attachment on this board. Right now it is set to mirror shirson.com/joomla.

This is a good example of what I was writinig about in the "beginners" post... I have become totally confused with the different terminology here.

I definitely did NOT re-map a subdirectory (at least on purpose), but I cannot guarantee that I did not use a redirect because I don't know how to do it....

"From there we should be able to sort you fairly easily"

Would I love that!

shirson

Re: Don't know how to describe this anymore

Posted by: thinkdreams
Posted on: 2006-10-05 13:05:00

That's why I suggested the dual domain option instead, as .htaccess files can be tricky at best to work with for beginners. They get me even now as an intermediate user.

If not done correctly, .htaccess files can remove the ability to view your site.

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-05 13:28:00

Thanks for the clarifications(s); it helps a lot to understand the background.

I think with what you have provided here we can manage without the screenshots, though in the future a good way to do that is just to post the screenshot(s) somewhere in your accessable web space and provide the link(s) to the .jpg/.gif/whatever in the post (or in a PM, if you don't want the "world" to see wink)

Regarding your issue, it *does* behave the way a "redirect" would behave, so that makes sense. The way the redirect works is that, upon a visitor going to hestakaup.com (which is hosted elswhere), *that* server simply "forwards" the user to your space on DH as requested (shirson/joomla). From that point on , all the links are generated on the DH site, by joomla, and they point to the shirson/joomla space.

I think this adequately explains what is happening, but if not, let me know.

To correct this, you need to create a "fully hosted" domain named "hestkaup.com" via the Dreamhost Control Panel. Do this *before* the next step. Next change the DNS (Domain Name Server) setting *at the registrar for hestakaup.com* to the DH DNS servers (ns1.dreamhost.com, ns2.dreamhost.com,ns3.dreamhost.com). When *both* of these steps are done, and DNS has propagated (can take from a matter of hours to several days, and will vary depending upon where "on the net" you are) hestakaup.com will display what is in the directory that is set up to be the "home" for that domain in the Dreamhost Control panel.

SInce you have already built the site at shirson/joomla, a couple of additional changes will have to be made to get "everything working", and there is more than one way to accomplish the necessary changes.

1) You *could* reinstall Joomla! in the "default" directory created for hestakaup.com by the control panel (/home/.something_or_other/yourusername/hestakaup.com), and then re-install your template(s), data, content, etc. - I think this is a needlessly "hard way" to accomplish this and don't recommend it unless you cannot understand or accomplish the methods I'll describe next , or you dont yet have a lot of content up and just want to start "fresh"wink

2) You could simply copy *all* the directories and files from /home/shirson/shirson.com/joomla to /home/shirson/hestakaup.com/ ( using a recursive cp command in the shell, or mv - help is available in the wiki, or on the web for these common *nix commands) and edit the configuration.php file to correct your url and path varables as needed. This will move all your content "intact"

3)If you are not using shirson.com for anything else, and don't mind having the Joomla install in a sub-directory, just go back to the Manage Domains panel page, and have "hestakaup.com" use the shirson/joomla directory as its "home directory".

There is, of course, more tweaking you could do (if you wanted to change the database used, etc.), but this will get a visitor to "hestakaup.com" to your joomla! installation without further to do.

Now, I know that that is a lot to digest., but it is not really as difficult as it seems. You have got a lot of time invested in this already, so I suggest take a little more and explore a bit, as necessary, so you understand what is involved with each of the described methods before you pick one and and give it a go. Good luck with it, and let us know if you have a particular question or problem, and we will try to help some more.

--rlparker

Re: Don't know how to describe this anymore

Posted by: quanin
Posted on: 2006-10-05 13:30:00

Mirroring your domain name would be, quite possibly, the best way to do it. Other than just plain fully hosting the domain name on DH and then moving the content you want over to the new domain name. What you have set up now, unfortunately, is exactly as has been said here previously–godaddie just takes a request for one domain, and hands it off to the other, so the end user will always end up at the second domain name.

Yes, I have an opinion.

Get a minimum 50% off with the "haveadreamyday" promo code, and... have a dreamy day. Original, no?

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-05 13:58:00

In reply to:

3)If you are not using shirson.com for anything else, and don't mind having the Joomla install in a sub-directory, just go back to the Manage Domains panel page, and have "hestakaup.com" use the shirson/joomla directory as its "home directory".


This seems like the easiest of all the options. But would I not have to do brain surgery on my configuration.php file? Got into big trouble with that already. Same with .htaccess. I'm just worried bout all the internal pointers and directories in Joomla!

I am going to take a break and do some thinking and research. I also have to get on a tractor and cut a field for a bit.

But thanks... these are good ideas and lead to some more understanding.

And, hey, if nothing else, I figured how to put quotes in this board!

shirson


Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-05 14:07:00

I think the SEF components for joomla are considerably over-rated. They do make "pretty" urls, but google seems to have no problem in properly indexing/ranking sites with the standard urls. I have such sites that rank better than others that are fully SEF-ified.

There is also a performance/cpu hit with many SEF schemes for Joomla!.

Of course, YMMV, and all is only my opinion wink
--rlparker


Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-05 14:12:00

In reply to:

But would I not have to do brain surgery on my configuration.php file?


You *could* edit the configuration.php file to "correct" a couple of entries (just changing a path here and a url there), but I wouldn't call it brain surgery - very simple changes .

One of them can also be made right from within the Joomla! backend!

Enjoy plowing the field!

--rlparker

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-05 16:11:00

Have you tried OpenSEF? They drove me nuts on support... I got into all kinds of trouble following their advice. It's one reason why I am so shy about editing .htaccess and configurationl.php!

One reason why I was interested in SEF was because of what I read about Google search results improving after it was installed. I would be fine dropping SEF.

And what is going to happen when 1.5 comes out???!!!!

We're going out for dinner and I am going to re-ponder the 3 options you listed...

Thanks again,

shirson

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-06 06:09:00

Good morning! Back to...

In reply to:

3)If you are not using shirson.com for anything else, and don't mind having the Joomla install in a sub-directory, just go back to the Manage Domains panel page, and have "hestakaup.com" use the shirson/joomla directory as its "home directory".


I am not sure whether or not I should "mind" having the Joomla install in a sub-directory because, frankly, I thought that's where it was anyway.

And would this step preclude me from using shirson.com for anything else? The idea of going to the Control Panel and making that change seem quite easy and almost "safe". I can see where a couple of changes in configuration.php would be needed, but I doubt that it would be a problem with the .htaccess.

By the way, it dawned on me that I should share the followiing information.

When I moved hestakaup.com from TypePad to DH in GoDaddy, I changed the domain server to DH. Then, when all I got when I entered hesakaup.com as a path in the browser was a list of files (I think I need and index file someplace to prevent that but I have no idea where or what, etc.) I restored it to PARK11.SECURESERVER.NET and PARK12.SECURESERVER.NET in GoDaddy. I wonder if at some point I need to change that back to a DH address.

Am I clarifying or muddying?

shirson

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-06 11:44:00

Good Morning, Shirson,

Actually, I don't suppose using this option actually *would* keep you from using shirson.com for "anything else", it just (in my "simple" mind, at least) needlessly complicates the organization of your directories. I find it "awkward" to "mix" domains under one branch of the directory tree.

I really think the *best* approach is to "bite the bullet" now (it really isn't all that difficult, and I have done it may times wink) to get the Joomla! installation set-up under a "hestkaup.com" directory directly below your user - as Dreamhost automagically does it when you "set up" a domain. I'm just convinced things will be "easier" for you down the road (especially if you need help from support, or from the forum members) if you keep your directory structure as "non-convoluted" as possible. Does that make any sense?

I'm sure you will have no problem with minor configuration.php edits, and you should *not* have to touch your .htaccess (or your re-write rules, which can "break stuff" very easily).

In reply to:

When I moved hestakaup.com from TypePad to DH in GoDaddy, I changed the domain server to DH. Then, when all I got when I entered hesakaup.com as a path in the browser was a list of files (I think I need and index file someplace to prevent that but I have no idea where or what, etc.) I restored it to PARK11.SECURESERVER.NET and PARK12.SECURESERVER.NET in GoDaddy. I wonder if at some point I need to change that back to a DH address.

Am I clarifying or muddying?


Actually, both! You are certainnly "clarifying" what the current situation is, but have somwhat "muddled" the change you want to make smile.

Think of it this way: What you set the DNS records to at your registrar (godaddy), determines *which* DNS servers do the translation from "hestakaup.com" to an IP address, and the information in those namervers (Now "secureserver.net") determines how the "webspace" on *that* system is related to the IP address. What you are really doing when you "create a domain" from the Dreamhost Panel is setting up that information so that the Dreamhost nameserver know "where" that domain lives in the Dreamhost files system (hence the association with a directory). That's a llittle "simplified", but it is the gist of it. What you are ultimately trying to accomplish is to have "hestakaup.com" pointed, by DH nameservers, to a directory on Dreamhost, under your control, where you have your Joomla! installation, and make sure that installation properly "knows" *where* it lives (hence the configuration.php changes for path and url). Obviously, in order to do that, one of the steps you have to complete is to have the DNS (configured at the *registrar*, GoDaddy) point to the Dreamhost DNS servers, and another step is to have those Dreamhost nameseerver know where your Jommla! "lives", etc.

Once you understand all that, the problem becomes much easier to digest, hence my statement that there are *several* ways to accomplish it. All this is considerably complicated by the fact the your site is "up", though not the way you want, and available to the public, so you want to be careful to avoid having it "inaccessable" during the changes as much as possible, right?

That is why I suggested getting the directory stuff straightened out *before* changing the DNS settings at the registrar - that way once the DNS change propagates, you will be "good to go".

All that said, you are back "how to accomplish that". The "easiest" way is to:
1) change the directory that "hestakaup.com" uses (by "editing" the "fully hosted" domain settings)
2)modify the Joomla! configuration.php file to reflect the new url/path settings, and
3)change the DNS records at GoDaddy to use the Dreamhost DNS servers.

The "best" way to do it, is to:
1) copy your complete exsisting Joomla! installation into a directory named "hestakaup.com" in your space (path will be /home/shirson/hestakaup.com/)
2)modify the Joomla! configuration.php file to reflect the new url/path settings, and
3)change the DNS records at GoDaddy to use the Dreamhost DNS servers.

notes: You will not have to change your database settings, and once this is all done and working well, you can then delete the old Joomla! directory from shirson.com

Both ways are really very similar. In the first instance you are pointing to an existing dir (though it currently "lives" under another domain's directory). It will work, but could get confusng down the road depending upon what you install in shirson.com . The way *nix permissions and .htaccess works, settings you later make to shirson.com's "home" directory could potentially interfere with the Joomla! installation. In the second instance, your Joomla! installation will be in hestakaup.com's "home" space, be easy to keep organized, and eliminate any potential issues with shirson.com's future use.

Whew! I know it is a lot to digest, but you said you wanted to understand it wink. If this makes sense to you, you probably just need to review the use of the "cp" command (with the "recursive" option) from the shell (in order to do the copying, should you decide to go with the second version) and let 'er rip. You could also do this via ftp, but it will not be as reliable or as quick.

Hopefully, this info is useful. Just post back if you need any other clarification or help. Good Luck!


--rlparker

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-06 13:31:00

Hi, thanks for all this.

I agree that the best way is to bite the bullet and do it "right".

For just the sake of getting support and being able to do the eventual updates, I should do it "right".

In reply to:

Whew! I know it is a lot to digest, but you said you wanted to understand it . If this makes sense to you, you probably just need to review the use of the "cp" command (with the "recursive" option) from the shell (in order to do the copying, should you decide to go with the second version) and let 'er rip. You could also do this via ftp, but it will not be as reliable or as quick.


If I understand what you are saying, I have the further option of testing the change before I change the DNS at GoDaddy. That would make me feel ever so much better.

I can look up the use of the cp recursive command, but first I have to figure out how to get into the shell. I am sure the wiki will lead me there.

So to review:

1. I figure out how to make the new directory, so I will have a shirson.com/hestakaup.com/. I think I will do that in my FTP program because I am familiar with it and I have already made directories to deal with my media.

2. Get into the shell. That through the Wiki. But I have been trying to figure out how to get in for about a 1/2 hour and cannot! Any hints? This is an illustration of what I was ranting about before. Once you get in to the shell, you never forget. But for the first timer it is hard to figure out how to get in.

3. In the shell, use the cp recursive to copy all the files under shirson.com/joomla/ to shirson.com/hestakaup.com/ (by the way, does it need the .com? couldn't it just be shirson.com/hestakaup/?

4. Then go into configuration.php and change all the instances of shirson.com/joomla to shirson/hestakaup.com

5. Test the result by enterning shirson.com/hestakaup.com/joomla
and J! should come up?

6. Change the GoDaddy to whatever DH needs for DNS.

Lots to research first...

But do I have it fairly right?

Thanks again...

Shirson


Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-06 15:16:00

It looks lilke you are "getting there" but a few clarifications appear to be in order, so please bear (patiently) with me:

In reply to:

For just the sake of getting support and being able to do the eventual updates, I should do it "right".


I agree, but one note of clarification re "updates". From looking at your space (in the past while you were testing, you exposed a directory listing at one time) I noticed a ".old" directory. This indicates you originally installed Joomla! via the Control Panel's "One Clilck" mechanism. Wthout confusing things even further, if you want to *preserve* the ability to "upgrade" via "One-click", you *cannot* (if at all - the "one-click" back-end is not public, so I can't tell exactly how it works when executing an upgrade!) use the method we are discussing - the "One-Click" installer will not recognize your "moved" Joomla! as being one of its "progeny".

This leaves two alternatives: you can preceed as we are discussing, but will have to upgrade "manually", using Joomla! provided upgrade precedures (joomla.org), *or* abandon this approach and just create a new "One-Click" install in the new hestakaup.com directory where you want to host the site. If you choose this second approach, you will not need to worry about modifying any configuration.php or .htaccess file(s), but you *will* have to re-install your chosen templates and components into Joomla!, and move your exisiting data into the new installation. That could be problematic, given your understanding of the issues involved (it *is* complicated by the fact that your compnents affect the data base, as well as your contents) and you can easily end up with a databse that has "parts" of each of the Joomla! installs in it, which is a "Bad Thing"tm - and the site will break.

The process of "manually" upgrading Joomla! (at least in the present 1.0.xx series) is not hard, but will involve more work in the shell/ftp (which you will have to learn how to do eventually if you take this approach, and *should* learn anyway to make your life easier!).

In reply to:

I have the further option of testing the change before I change the DNS at GoDaddy. That would make me feel ever so much better.


Actually, no. What it does allow you to do is to keep your existing site "visible" via the old " DNS" until you have gotten everything ready to go. I must not have been clear about how the DNS works - if you take this approach you will not be able to see the results in place at hestakaup.com until the DNS propagates and allows your new directory contents to be displayed - there will be no way to "see" that directory from the web unless you connect it via DNS.

There is a "workaround" for this, which is well detailed in this wiki article describing how to view a site before DNS changes, but that process adds an additional series of steps to your project. Again, we are shooting at a "moving target" here - "testing" the site "live" beore making it public entails a different approach.

One way to do that would be to follow the process I've described, but doing it using a sub-domain described in the wiki. Another is to modify your process slightly and "copy" the existing Joomla! installation (directories, files, everything!) to a newly created (via the panel) subdomain of a site that already has DNS in place (such as dev.shirson.com, test.shirson.com, anythingyouwant.dreamhosters.com, etc. - same thing really, but maybe easier to understand). Modify your configuration.php. then "test" your new installation (using the url of the "testing" sub-domain) till you have it right.

Once you are sure it is ready to "go public", just rename the "testing domain" directory (it will be in *your* user space, just like the existing "shirson.com" directory) to "hestakaup.com", correct the configuration.php appropriately, the go to the Control Panel Manage Domains screen and "edit" as needed to make sure that "hestakaup.com" points to the (newly renamed to!) hestakaup.com directory that *now* exists in your "shirson" user space.

Notes on the "To Review" section of your last post:

In reply to:

1. I figure out how to make the new directory, so I will have a shirson.com/hestakaup.com/.


Not quite, but close. Make a directory so that you will have a hestakaup.com *and* a shirson.com directory in your "base" user space (/home/shirson/shirson.com *and* /home/shirson/hestakaup.com). Doing what you described would just duplicate the issues of having hestakaup.com living "beneath" the shirson.com directory in the tree, which is what you have now with the "shirson.com/joomla" directory; tyring to avoid this is the whole reason we are "doint it right", instead of just using the existing Joonla! directory and pointing hestakaup.com to it wink.

In reply to:

2. Get into the shell. That through the Wiki. But I have been trying to figure out how to get in for about a 1/2 hour and cannot! Any hints? This is an illustration of what I was ranting about before. Once you get in to the shell, you never forget. But for the first timer it is hard to figure out how to get in.


I'm not sure what Wiki articles you are reading, but you need to use an "ssh" client program to "get into" the shell. Which client program you use will depend upon what operating system you are using. The main Dreamhost Wiki article on the shell includes links to the sections on obtaininng the appropriate ssh client, connecting, and using the shell as well as links to using commands in the shell and other related resources. Once you connect, you should feel right at home, as the shell operates (with different commands, of course, and a *lot* more power) much like the command line you used in the CP/Mwink.

In reply to:

3. In the shell, use the cp recursive to copy all the files under shirson.com/joomla/ to shirson.com/hestakaup.com/ (by the way, does it need the .com? couldn't it just be shirson.com/hestakaup/?


No.frown See item #1 above. you want to recursively cp everything from /shirson/shirson.com/joomla/ to shirson/hestakaup.com/. your "directory tree" should look something lilke this:

            ---- hestakaup.com/ 
:
/home/shirson/ ---- shirson.com/ ---- Joomla/

When you have the recursive copy done correctly, all the files and directoryies that are now in "joomla" will be in hestkaup.com

I suppose you could omit the .com, but I advise against it, as this structure makes it clear that a "site" lives in this directory, since you can have many site hosted (at no additional charge for the hosting!) at Dreamhost and you may want to build others.

In reply to:

4. Then go into configuration.php and change all the instances of shirson.com/joomla to shirson/hestakaup.com


Pretty much correct - though I'll qualify that a bit. You should only have to change the "$mosConfig_live_site =", the "$mosConfig_absolute_path =", and the "$mosConfig_cachepath = " settings. Two of these are "paths" and one is a "url", so you statement is a little over simplified, but you have the right idea. Change the paths to reflect your new setup, and the url to reflect your new url. You will probably also want to change (either through the Joomla back-end", or in the configuration.php file the email address to use for you admin functions (as you are now using a "new" domain - but that is minor, and is up to you depending upon how you want to handle it.)

In reply to:

5. Test the result by enterning shirson.com/hestakaup.com/joomla
and J! should come up?


Again, re-reading this, and the previous, post should help you realize that there are several problems with this - both in the "testing" methodology and the paths/urls involved. When I wrote that you could make sure everything was properly configured before changing the DNS, I meant you could make the cp and configuration edits first - not that you could "browse" via http and see the changes immediately. However, if that is what you want to do, I've discussed ways to do that earlier in this post.

In reply to:

6. Change the GoDaddy to whatever DH needs for DNS.


Correct!

All in all, you have it "pretty close to right", with the exception of grasping the *nix directory structure, how that is related to how the domain is set-up as "fully-hosted" at Dreamhost, and the need to use DNS to "browse" those directories. You've almost "got it", I hope.smile

--rlparker


Re: Don't know how to describe this anymore

Posted by: quanin
Posted on: 2006-10-06 15:21:00

I'll take my answer step by step, here, because there seems to be a lot you're missing first of all that will quite possibly cause you problems.

In reply to:

I can look up the use of the cp recursive command, but first I have to figure out how to get into the shell. I am sure the wiki will lead me there.



First, make sure your user has the ability to actually log into the shell–you can do that from here. Then, after you've double checked that, look at this WIKI article for a list of Windows-based SSH clients, and an explanation of what SSH is. It also links you to an article explaining how to enable shell access for your user–not that it's difficult to do.

In reply to:

1. I figure out how to make the new directory, so I will have a shirson.com/hestakaup.com/.



Incorrect. When you opt to fully host the domain with DH, it will ask you where you want it to create the directory wherein you'll be putting your files associated with that domain. For ease of use, I'd recommend you leave the default setting in place, unless you absolutely without a doubt want to put it inside the shirson.com domain name. In doing that, however, as has already been said, it could make things difficult if, for whatever reason, you want to find another use for that domain or, worse yet, if you cancel that domain name. The default setting will put a hestakaup.com directory at the top level of your directory tree, so the actual system path would be /home/username/hestakaup.com, rather than /home/username/shirson.com/hestakaup.com.

In reply to:

2. Get into the shell. That through the Wiki. But I have been trying to figure out how to get in for about a 1/2 hour and cannot! Any hints? This is an illustration of what I was ranting about before. Once you get in to the shell, you never forget. But for the first timer it is hard to figure out how to get in.



See the linked WIKI article, and the linked section of the control panel above.

In reply to:

3. In the shell, use the cp recursive to copy all the files under shirson.com/joomla/ to shirson.com/hestakaup.com/ (by the way, does it need the .com? couldn't it just be shirson.com/hestakaup/?



It could be whatever you want, so long as the server knows where it is. You could name the directory fubar for all the server really cares. DH suggests domain.com, though, by default because it makes it easier for beginners, and some advanced users, to know what directory belongs to what website.

In reply to:

5. Test the result by enterning shirson.com/hestakaup.com/joomla and J! should come up?



If you want to run it on a separate domain name and not have any problems, that won't work, no. However, if you do it the way I suggest, you 1: won't need the /joomla because everything will be in the top level directory underneath the domain.com or whatever, and it will be out of shirson.com. If you want to test your changes, you could set up a subdomain on either shirson.com or on the DH-provided dreamhosters.com domain that will mirror hestakaup.com until the nameserver changes take effect, then delete it.

I guess, the major question you have to ask yourself here, though, is do you *want* to host the one domain as a kind of subset of the other? Under the system you're thinking of implementing, people could go to either domain name–well, once the second one catches up with your changes on DH–and end up at the same place. Would it not just be easier to pick a domain to host the site from? A lot less configuration on your part, and then if you decide to cancel shirson.com for whatever reason, you won't be doing a panic dance trying to figure out how to save your other material. I think, once we know what it is you're trying to do, we can all better assist you.

Yes, I have an opinion.

Get a minimum 50% off with the "haveadreamyday" promo code, and... have a dreamy day. Original, no?

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-06 15:26:00

Well, I'm back to zero again!

I've just spent about 3 hours waffling around on DH wiki, DH forum, google, etc. trying to find out how to get the shell prompt from Apache. When I enabled myself through the panel to get shell access, after a while all I was able to do was get another panel, an ftp which had no shell command access.

Again, the language problem. If you don't know the very beginning, you ain't going to get in.

I remember clearly that years ago I got into unix (that is another ancient history story, but I was a consultant for the Bell System and had an account on the research computer at Bell Labs when the first UNIX ran on a DEC machine) through a terminal program. I get into DH through my ftp program, but I could not get any kind of prompt through ssh stuff I tried. Just don't have the key...

Frustrating.

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-06 15:30:00

Oh dear! I hope we have not *thoroughly* confused the dickens out of him now. It *also* looks like we were both typing at the same time laugh. I think you and I are both trying to tell him the essentially the same things, though in different ways and with different approaches. I'm gonna step back a bit and see if you can communicate what's involved more effectively than I can - I'm trying my best but do not seem to be getting through. Thanks for jumping in and helping! smile
--rlparker

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-06 15:38:00

That must be frustrating! If you *just* enabled shell access for your user, it may not have "taken" yet. When youo view you users from the Control Panel, if there is a little "clock" icon near the user that means that a change is pending. While that is there, you won't be able to the shell (as your user does not "yet" have shell access - the change is still pending). Once that has gone away, and the user shows in the panel as being a "shell" user, *then* tryi to connect. It might help us help you if we knew what operating system are you using from *your* computer, and what ssh client are you using to try to connect to the shell?

--rlparker

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-06 15:49:00

In reply to:

Would it not just be easier to pick a domain to host the site from? A lot less configuration on your part, and then if you decide to cancel shirson.com for whatever reason, you won't be doing a panic dance trying to figure out how to save your other material. I think, once we know what it is you're trying to do, we can all better assist you.


That is true. What I think he is trying to do is simply have his Joomla installation available at hestakaup.com, but the matter is complicated by the fact that he already built it, and populated it with content, at shirson.com/joomla.

Everything else evolved from his attempts to "diddle" stuff to get that content to show up when someone browsed to "hestakaup.com". - What I've been trying to do for the last day or so is show him how to do what you suggest *without" having to re-do his content.

I know that, with appropriate MySQL expertise, he could just re-install Joomla via a one-click on a fully hosted hestakaup.com, and "migrate" his components, template, and content via database dumps and restores - but that seems infinately more difficult to talk him through than trying to show him how to "move" the exisiting site and straighten out his "borked" directory structure - I might be wrong on that, though.

Again, thank you very much for helping - though it seems like we have still to get him into the shell, so "first things first", eh?

--rlparker

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-06 15:58:00

The clock finally went away and I still could only get the canned ftp2web app that I as able to get before....

In reply to:

Once that has gone away, and the user shows in the panel as being a "shell" user, *then* tryi to connect. It might help us help you if we knew what operating system are you using from *your* computer, and what ssh client are you using to try to connect to the shell?


I am using a Mac, OS X latest versions. I use transmit for the ftp and I just downloaded Fugu (do you believe that name) because it was favorably reviewed as being very flexible but I still could not get in....

There is a lot to think about in your previous 2 posts. I am glad that we are taking this slowly because I really do want to be able to do the one-click update/installs. I *dread* 1.5 coming up. I have read that it is going to be a complex install!

I'm going to pour a glass of wine and read the posts very carefully.

I really appreciate your help!



Re: Don't know how to describe this anymore

Posted by: quanin
Posted on: 2006-10-06 16:06:00

Okay, the first *very* important point, here... FTP and SSH are *completely* different things. The good thing is, if you're using a MAC, you probably have command line experience, so this won't be too hard to pull off. The simplest way of getting you into the server is like this. MAC OS comes with a SSH client natively, so from the command line, type this: ssh shirson.com

Then, you'll probably have to accept a SSH key from the server. It'll ask you for your username and password, and you'll be golden. From there, we can finish sorting you out some.

Yes, I have an opinion.

Get a minimum 50% off with the "haveadreamyday" promo code, and... have a dreamy day. Original, no?

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-06 16:21:00

In reply to:

I still could only get the canned ftp2web app that I as able to get before....


There is no "link" from the panel to connect via ssh (you have to run an ssh client from your computer), so you are not "missing anything" in that regards wink

As for ssh clients, I have no experience with Fugu, though it is well regarded - ssh works from any terminal on OS X and, since you are just getting to a command line, there is no real need for a "graphical" client. The SFTP functions of Fugu are probably a nice feature, however.

In reply to:

I am glad that we are taking this slowly because I really do want to be able to do the one-click update/installs. I *dread* 1.5 coming up. I have read that it is going to be a complex install!


Uh oh. Again a complication - I *strongly suspect* that Joomla! 1.5 will *not* be a "one-click" upgradeable thing. Even the Joomla developers don't promise a "trivial" upgrade path and I would be very surprised if Dreamhost would undertake themselves to write the programs to "auto-update" an existing "one-click" 1.0.xx Joomla! to 1.5 given those circumstances.

Of course, I could be wrong here but I am fully expecting that my *many* joomla installations will need to be "manually" updated/migrated to 1.5 when the time comes (Joomla has as much as told us that already!).

If that is true, there doesn't seem to be much point in jumping through hoops to "preserve" one-click upgradeability, but that is a decision for you to make. As I think you will see from my prior post, if you want to do that, you really need to *start* from a "one-click" install in /home/shirson/hestakaup.com - and then get you data migrated. That's a whole different process than what we have talked about here. frown

--rlparker

Re: Don't know how to describe this anymore

Posted by: shirson
Posted on: 2006-10-06 17:48:00

OK, I got in through my own terminal app. I just did not know I had to type ssh.

I spent some more time browsing 1.5 upgrade issues, and I *double dread* it now! Let's drop that plan! It just is not going to happen.

I'm going to study the options and draw up a list of steps then I'll send it out for (p)review.

Thanks, guys!



Re: Don't know how to describe this anymore

Posted by: pangea33
Posted on: 2006-10-06 22:51:00

Amazing posts in this thread. There is some serious knowledge being shared in here. I went through a Joomla change recently myself, because I no longer wanted it in a subdirectory. As was mentioned, the best option is to make a hestakaup.com that is a sibling of shirson.com. Wanted to add a little thing though.

While I am pretty comfortable on a console, and am trying to become proficient with the shell, I must admit that it can be a little intimidating for a novice like myself. The power of recursive operations and regular expressions make me a little leery.

My experience moving Joomla up from a subdirectory was almost painless for 5 different domains, and I didn't have to trust my shell skills with what I thought of as a critical operation. Obviously it's really important to make some backups since nothing is guaranteed.

Even though it might make a system operator cringe, I performed a drag and drop operation using my ftp program. Then I removed the subdirectory reference from my .htaccess and configuration.php files before uploading them, and browsed to the root directory of my domain. Success!! By the last site, the entire operation took about 2 minutes to complete.

I've still got some issues with Google trying to index pages from the old directory, and have had some difficulty in getting the things correct so that the spider doesn't give me errors. The site works fine though. If you can perform these steps, you can manually upgrade Joomla. I don't always trust automatic updates, even though it's probably just a script executing a file copy.

http://benconley.net
http://teamshocker.com

Re: Don't know how to describe this anymore

Posted by: rlparker
Posted on: 2006-10-07 02:10:00

Excellent post! I routinely "stage" Joomla! sites on subdomains, during development, then create a "fully hosted" domain.tld when ready to launch. I then delete the existing domain.tld directory (which was created by the Dreamhost Panel when I set-up the domain), rename the existing sub-domain.tld containing the development site to domain.tld, and make the configuration.php and .htaccess changes required. All done, and takes "no time at all". All that to say there are, obviously, "many ways to skin this kind of cat", and your suggested way works very well in many situations.wink

Given the way the original poster's situation evolved, his circumstances are a little more complicated (though the concepts still apply!). His problem is exacerbated by the difficulty of communicating how domains are "hosted", how DNS works, and how a Joomla site is structured in terms that are foreign to a new Joomla user not used to *nix hosting environments. That, no doubt complicated by my inability to explain things better,is probably why this thread became so "longish". It is really tempting to just offer precise technical answers, and leave it to the reader to decipher it all, but I really *do* want to help him get this sorted..

In reply to:

While I am pretty comfortable on a console, and am trying to become proficient with the shell, I must admit that it can be a little intimidating for a novice like myself. The power of recursive operations and regular expressions make me a little leery.


That is an excellent point, and generally I caution against users mucking about in the shell until they know a reasonable amount about what they are doing, so I want to make a little clarification here. The reasons I advocated the shell based "recursive copy" operation, in this instance, were as follows:

1) The use of "copy" (cp) as opposed to "move" (mv) is a "hedge" against "borking it up" - the worst that can happen is that you copy the files to the wrong place; the originals are still there so you can try again if need be (after, of course, deleting the files that ended up in the wrong place.) Backups are always a great idea, and there is a sort of "auto backup effect" when copying, as opposed to moving, since you still have the unaltered originals.

2) Exisiting permissions are preserved, which can be important.

3)Drag and Drop, or other ftp based "download/re-upload" methods are great - when they work properly. However, there are several threads on this forum where the ultimate cause of a failed upgrade, or transfer, of a largish application with many directories (and many more files!) has ultimately been determined to be due to having partially or improperly transferred files or directory structures. Sometimes this is because of the behavior of an FTP client, or other transfer failure (wrong mode setting, etc.) These failures/problems *can* be rather difficult to track down, and are even *harder* to identify if the application is a "monster" like Joomla! It also can "take a while", even on a broadband connection, and very nearly "forever" should a user be stuck on a dialup connection. Generally speaking, moving "big" things around on the server is more reliable than moving "big" things around via ftp (at least, in my experience).

4) Unfortunately, the "quick and easy" rename-the-diredctoy method won't work for this user's circumstances, given the directory structure into which he has already installed Joomla! You could "simulate" that process with a "mv" (move) operation, but if that gets done improperly, you might be driven to the Dreamhost ".snapshot" bakups (or your own) to recover wink

The google issues you describe will, eventually, "fix themselves", so I wouldn't worry too much about that as long as the site is "working".

As for the upgrade process, I completely agree that with basic shell skills, or good understanding of the directory structure of *nix and Joomla!, and a good ftp clilent, "manual" upgrades are pretty painless.

I never feel completely comfortable with "auto" upgrades (no disrespect to the Dreamhost "one-clicks" intended here!) as I don't really know exactly what they are going to do. Dreamhost even warns you about this when they make the "auto upgrades" as "Beta", and caution that you "may" have to reinstall certain features, templates, customizations or functions to a "one-click" upgraded application.

That is usually not too hard to do, if you understand the directiory structure and the structure of the application well enough, as Dreamhost leaves your existing installation available in the ".old" directory. You can go there and copy, move, drag-n-drop, ftp, etc. those files to your heart's content if you need to to recover stuff. The two problems with relying on that are that, you loose all sense of "version control" and will break the upgrade in you mishandle even a single file and, if you understand things well enough to attempt that, you could have more efficiently done the same thing with a "manual" upgrade . Of course, if you *don't* understand the directory structures and file functions of the application, it can be accordingly more difficult. smile

As you can pointed out, this thread has gotten rather "involved", and I think there is a lesson in that for any who might be following along: time spent in planning and learning *before* attempting to implement almost *anything* is generally time well spent. The original poster's struggle with all this would be considerably less difficult had he understood some of the things he is now learning (regarding DNS, directory structure, etc), and planned for what he wanted the end result to be earlier in the process before he fully developed his site.

Please understand, those comments are *not* meant to reflect negatively on the original poster; he researched what he wanted to do, dove right in, and got a functioning site, which is to be appreciated. We all have to learn somehow, and this process is sometimes "easy" and sometimes really "hard" smile

I really appreciate your post (and that you actually read through this thread), and I'm sure that the original poster is also appreciative of your efforts. *Please* continue to contribute to this thread, as I seem to not be doing a very good job of getting the original poster to where he wants to be and *you* may be able to explain things better than I can.

Imagine how happy he is going to be when it all "works"!

--rlparker


Re: Continuing Thread on Moving Existing Joomla

Posted by: shirson
Posted on: 2006-10-11 12:00:00

I'm back to trying to thrash this out.

In reply to:

Make a directory so that you will have a hestakaup.com *and* a shirson.com directory in your "base" user space (/home/shirson/shirson.com *and* /home/shirson/hestakaup.com). Doing what you described would just duplicate the issues of having hestakaup.com living "beneath" the shirson.com directory in the tree, which is what you have now with the "shirson.com/joomla" directory; tyring to avoid this is the whole reason we are "doint it right", instead of just using the existing Joonla! directory and pointing hestakaup.com to it.



If possible, I would rather not risk the shell recursive cp command unless it is the ONLY way to do this. I have my reasons --- bad experience years and years ago. I noticed, though, that if I use the DH net2ftp program that all the copy commands on directories are recursive. So I assume that all the subdirectories would be copied as well as joomla itself.

Now, here's the tricky part. I remind myself I am not doing a move (copy/delete). I copy joomla to a target directory other than the default shirson.com which is in there now. What is the name of the target directory? I want it to be a sibling of shirson.com. Is it just "/"? Does not make sense. I understand what "base" and "home" means, but what do I actually type in? The terminology again.

It should have a different target name, though and that should be "hestakaup.com"? Do I have that right?

I would feel more comfortable making this copy and seeing if it worked as a discrete first step and then going from there.

When I look at the pages for managing domains, I get terribly confused. Hosting, mirroring, etc. Can't that come later?

Thanks!

Stan

Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-11 12:39:00

In reply to:

I copy joomla to a target directory other than the default shirson.com which is in there now. What is the name of the target directory?


it should be "hestakaup.com", from our previous discussion. You should see it in the same directory as "shirson.com". If it is not there, "create" it, so you can use it as the target.

**Warning: the net2ftp application provided by Dreamhost is a PHP application and, as such, I do not know how it will behave when asked to recursively copy a directory with as many directories/files in it as exist in the joomla directory tree. There is a danger of the application "timing out" as it copies all the files (php has a maximum time execution limit). Even copying from the shell takes a "noticeable" amount of time. I discussed this issue in a previous post in this thread over the weekend.

In reply to:

It should have a different target name, though and that should be "hestakaup.com"? Do I have that right?


Yes. Under "/" (in an ftp program, not the shell - in the shell it is "home/shirson/ - which is your base), you should have both shirson.com and hestakaup.com.

In reply to:

I would feel more comfortable making this copy and seeing if it worked as a discrete first step and then going from there.


You will be able to see if the copy worked, but (as discussed before, at length) if you do not set up a hosting/DNS mechanism for the "test" installation you will not be able to see if it is "working" as a Joomla! site on the web. Please review our previous posts; once you have made the successful copy, you can "test" by tying that directory to a fully hosted domain; you cannot do that if you do not set up a way to reach it from the web. I must be failing miserably at describing this process frown.

In reply to:

When I look at the pages for managing domains, I get terribly confused. Hosting, mirroring, etc. Can't that come later?


Sure. Once you have all the shirson/joomla contents (files, directories, and their progeny), and modify the configuration.php (possibly .htaccess, as discussed at length previously), then you can "point" hestakaup.com, as a fully hosted domain, to the hestakaup.com directory. This is, or course, related to all our previous discussion on that subject, and your desire to "see if it is working", as mentioned above.

--rlparker

Re: Continuing Thread on Moving Existing Joomla

Posted by: pangea33
Posted on: 2006-10-11 18:02:00

I noticed that I sort of misspoke about something and want to clarify...

In reply to:

Drag and Drop, or other ftp based "download/re-upload" methods are great - when they work properly.

It also can "take a while", even on a broadband connection, and very nearly "forever" should a user be stuck on a dialup connection. Generally speaking, moving "big" things around on the server is more reliable than moving "big" things around via ftp (at least, in my experience).


Agreed. Reploading everything is just insane IMHO. Even with my pretty fast connection, there is a lot of overhead associated with opening/closing connections to each of these files that far outweighs the transfer. Since Joomla has countless files under 5k, and it would take hours to upload the whole thing. I imagine, but never did that.

I was talking about when I had installed Joomla into a "/cms" folder under my domain. The drag and drop operation was strictly on the server using my ftp program. I drilled down to the cms folder, highlighted everything in it, and dragged the selection to the root domain folder in my ftp client. It did the correct recursive move and took almost no time.

Just a suggestion as viable middle ground. I went for it using recursive operations within the shell once, and entered the destination path wrong. That's how I learned the above technique would work, because I was already prepared to trash everything at that point.

http://benconley.net
http://teamshocker.com

Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-11 18:13:00

In reply to:

The drag and drop operation was strictly on the server using my ftp program.


Aha! I understand now. I have never used that capability, as my ftp client of choice can't do that. I suspect that what it is doing is "building" a "move" operation for you (sparing you from the potential of "borking" the command with a typo wink) Very cool!

What ftp client do you use?

--rlparker

Re: Continuing Thread on Moving Existing Joomla

Posted by: pangea33
Posted on: 2006-10-11 19:48:00

I am a huge fan of FlashFXP and think it's the best client I've ever used. It supports user-defined macros, SFTP, and server to server transfers (even though DH servers don't seem to permit that.) It's commercial software, but priced reasonably at $25. http://www.inicom.net/pages/en.ffxp-home.php

Since I use Firefox, I figured I'd look into some of the available extensions for it. FireFTP is a pretty capable plugin, and I verified that it supports drag and drop operations like I described. While it supports file resuming, it appears to have the glaring oversite of no functional file queueing system. It's available on the Mozilla site https://addons.mozilla.org/firefox/684/, and here's the plugin home page: http://fireftp.mozdev.org

Saw this on there and thought it was funny:

In reply to:

If you're havin' IE problems, I feel bad for you, son - I got 99 problems but a browser ain't one. - DJ Danger Mime


Also on the Firefox extension tip... Not sure how much JS/CSS/DHTML work you all do, but Firefox's built-in JS Panel simply doesn't give the capabilities necessary for debugging advanced scripts. The Visual Studio debugger integration for IE was very capable, but I hate that browser and don't have a license for the Vis Studio. The Venkman debugger plugin is AWESOME, including lots of support for breakpoints, different sorts of watches, etc. https://addons.mozilla.org/firefox/216/

**If you NEVER need anything more than alert boxes for JS debugging, your scripts either aren't as advanced as you think, or you're one of exceedingly few. You're probably typing on a gold keyboard too.**

http://benconley.net
http://teamshocker.com

Re: Continuing Thread on Moving Existing Joomla

Posted by: shirson
Posted on: 2006-10-11 20:58:00

I ended up using the net2ftp from DH. I was concerned about timing out with the whole Joomla directories, but it looks as if it worked.

Now on to the rest...

Stan

Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-11 23:21:00

Congratulations! Feels *good*, eh? We will have to file that net2ftp experience for further reference (if that didn't time net2ftp out, very little probably will!) Good Luck, and Rock On! smile

--rlparker



Re: Continuing Thread on Moving Existing Joomla

Posted by: shirson
Posted on: 2006-10-12 05:20:00

In reply to:

Congratulations! Feels *good*, eh? We will have to file that net2ftp experience for further reference (if that didn't time net2ftp out, very little probably will!)


Yaaayyy! Thanks to this list, though!

As for the net2ftp, it was a chance, but I took it because I felt as if I had control over the process. Oddly enough, that was not how I felt about ssh in the shell. One little type and/or misunderstanding, and whoops!

So I made the changes I thought necessary in my configuration.php, went in on the domain manger and changed to fully hosting hestakaup.com and then switched over the domains in Godaddy. The only thing I am at all worried about is the configuration.php.

If it works, I'll rave, if it doesn't I'll call for help...

Thanks again,

Stan

Re: Continuing Thread on Moving Existing Joomla

Posted by: shirson
Posted on: 2006-10-12 05:56:00

In reply to:

If it works, I'll rave, if it doesn't I'll call for help...


This is the RAVE! So far hestakaup.com works! It just propagated to me in less than an hour! And everything seems to work so far.

So, thanks all!

RL, you've been very patient with me and I really appreciate it!

shirson

Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-12 11:45:00

Outstanding! Congratulations are in order. I'm really glad you were able to get this sorted, and hope the experience, in the end, was more gratifying (look at all you have learned!) than it was frustrating. smile

--rlparker

Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-12 12:41:00

Thank you very much for all the great info. I really appreciate it. I'm still pretty "old school" with my ftp client (using LeechFtp - which is no longer developed), as I've just never felt the need to change. I might check out "upgrading" though, as it sounds like there are some neat features available.

Thanks for the Firefox extension top. I don't do a lot of javascripting, but I'll check that out. My favorite (can't live without!) Firefox extension is Web Developer. Along with a text editor, it is just about all the "ide" I need for most web work.

--rlparker




Re: Continuing Thread on Moving Existing Joomla

Posted by: shirson
Posted on: 2006-10-13 06:50:00

In reply to:

Outstanding! Congratulations are in order.


Just as I was sitting back and basking in my success, I noticed a very strange phenomenon. For some reason, http://hestakaup.com (the new site) is synchronized with the old site, http://shirson.com/joomla. By this I mean that if I make a change in the Administrator end in hestakaup it is reflected in the shirson/joomla site. The way I found it was that I was having trouble sorting out my Google Analytics reports so I went in and looked at the code in both sites. The same, even though I kept entering them in separately with different account numbers.

Then, I added some content to one site and behold! it was in the other.

Hestakaup.com is a sibling of shirson.com and has its own copy of Joomla!

So, thinking all I needed to do was to go into the DH panel and redirect shirson.com/joomla to hestakaup.com I found out that for one thing I got a 404 because I got hestakaup.com/joomla in the redirect rather than just hestakaup.com.

I've been prowling the forums and wiki because I thought this would be a fairly straightforward fix. Either I am dense (which is possible in my newbie state) or it is a more complex problem than I think.

This even extends to adding a mambot in one copy and finding it in the other! Yet when I list directories, they appear (to me) separate.

Yow!

shirson

Re: Continuing Thread on Moving Existing Joomla

Posted by: shirson
Posted on: 2006-10-13 07:19:00

Replying to my own post...

Maybe there should have been a change to the .htaccess file. I've gone over the configuration.php and it looks right.

.htaccess is more difficult for me to figure out.

shirson

Re: Continuing Thread on Moving Existing Joomla

Posted by: rlparker
Posted on: 2006-10-13 10:26:00

Remember, as it is set up now, both domains are running Joomla installations that share the same database - content placed in one will show up in the other! However, having components that are installed in only one installation show up in another where the components are *not* installed, is indication of another (small) problem.

The fact that the actual directories have different contents is the clue to the problem!wink

WIth all the machinations you went through before, with the confusion over redirects,mirroring, etc., it sounds very much as though you have one domain mirroring the other. This could also be the result of having having both DNS settings pointing to the same "space", or possible htaccess re-write rules at play.

If there is mirroring going on, it's hard to tell from here "who" is "mirroring" who; the domain with the most recent files in the directories will be the domain that is being mirrored.

If the DNS is "borked", just double check the DNS assignments for each domain, and make sure that all the domains at DH are "pointed" to the correct directory.

As for .htaccess, the easiest test on Joomla!, if you really don't want to "mess" with .htaccess files wink, is to temporarily disable SEF urls, and rename .htaccess to something (htaccess.txt), and see what happens. IF this fixes the problem, compare the two .htaccess files (you will probably find them to be the same), and edit any references to the domains as appropriate, then re-enable it all. If temporarily disabling SEF urls has no effect on you seeing the same content, *and components*, from both urls, just re-enable it all and know that .htaccess is not your problem.

While I haven't looked at it recently, I don't think the .htaccess is likely to be your problem; your earlier posts make me think you have some "fogotten" mirroring, or redirectiong of a sub-dir going on (or an erroneous DNS listing.).

Check these things out, and if you still have problems, post back.

--rlparker

Tags: search enginehttp