Forums / General Questions / how to change long ip to a sub-domain name

how to change long ip to a sub-domain name

Locked

Views: 1,050

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
28 Sep 2007, 5:22 AM
#1
trailblazer avatar

trailblazer

New Zenner

Join Date:
Jul 2007
Posts:
5
Plugin Contributions:
0

how to change long ip to a sub-domain name

I recently had problems configuring the paypal support because it would not accept the long name of the address using the ip of my server, so a friend of mine fixed that problem real quick by adding a sub-domain instead. My question is that once you click on any link on my main page you automatically have the long ip name in your browser, so how do I keep my sub-domain name showing instead of the long ip? Here's my shop so far, only 1 pic so far for testing and it's not done so please don't try and order anything hehe.
http://zencart.sandysandersdesigns.com/
Just showing so someone in the know will see exactly what I'm talking about once you click on any link. (I'd like to keep the sub-domain name showing so people feel like they are still on "my site" even though it's just a themed out zen cart page ya' know?)

Thanks,
:cheers:

28 Sep 2007, 6:29 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: how to change long ip to a sub-domain name

This FAQ talks about the process of moving from one folder to another while on the same server:
https://www.zen-cart.com/tutorials/index.php?article=122

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Sep 2007, 6:28 PM
#3
trailblazer avatar

trailblazer

New Zenner

Join Date:
Jul 2007
Posts:
5
Plugin Contributions:
0

Re: how to change long ip to a sub-domain name

Not to sound dumb, but by doing all this it will keep my sub-domain name showing instead of the long ip name that shows once you click on any link on the main page? The only reason I ask is that in this thread: http://www.zen-cart.com/forum/showthread.php?t=75378
it looks like this guy is asking the same thing I am.

Thanks again for the help!

30 Sep 2007, 7:01 PM
#4
trailblazer avatar

trailblazer

New Zenner

Join Date:
Jul 2007
Posts:
5
Plugin Contributions:
0

Re: how to change long ip to a sub-domain name

Nevermind I think I just fixed it by making the necessary changes to made includes/configure.php and admin/includes/configure.php

Thanks for the help and quick reply though!

30 Sep 2007, 7:31 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: how to change long ip to a sub-domain name

It looks like you have a lot of redundant path elements in there, though I couldn't tell you how to change most of that safely.

You can for sure eliminate the /zen-cart-v1.3.7-full-fileset-12302006/ part by moving all its contents to /catalog/ or to /public_html/ and editing your configure files accordingly.