This is a discussion on How do I use dedicated IP address while setting up? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; The DNS is pointing to the old site, and I can't seem to do anything with the osCommerce files and ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| The DNS is pointing to the old site, and I can't seem to do anything with the osCommerce files and data on the new server. OsCommerce keeps trying to send me to the old site (www.musicworldva.com) instead of the new one (http://71.18.163.141). Since the old store website isn't osCommerce, I need to get this one up and running with products, categories, etc. before pointing the domain's DNS to it. How can I do that? Thanks, Diane |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| You have to change the configure.php files to use the IP not the domain. Then, once you point the domain to the new IP, then change the configure.php files to use the domain.
__________________ Michael Sasek osCMax Developer
|
|
#3
| |||
| |||
| There's a configure.php in admin/includes, admin/includes/local, /catelog/includes, /catelog/includes/local. Which configure.php should I edit? And what does the line look like that I make the change to? Thanks! Diane |
|
#4
| ||||
| ||||
| Both... There are 2 places, just look and it is obvious. Whereever your domain name is, replace it with the IP
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| Michael, I FTP'd all the files onto my Laptop from the new server, and searched for musicworldva - it isn't in the text in any of the files that were installed for osCommerce. This is an excerpt from the admin/includes/configure.php file. Is there a line there that I should edit? // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); Sorry I'm such a novice, Diane |
|
#6
| ||||
| ||||
| Did you run the setup script? It does not look like you installed the cart yet... Run the setup script/installer and use your IP address...
__________________ Michael Sasek osCMax Developer
|
|
#7
| |||
| |||
| I finally figured it out. My son suggested I edit the host script in my Windows XP. which fixed the problem. Now when I put in my dedicated IP address, I can get to my current server's catalog files instead of the old server's non-existant catalog files even though the DNS entries aren't pointing to the new server yet. Thanks for trying, Diane |
|
#8
| ||||
| ||||
| That is what I suggested you do in the first place...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is this the correct setting? | CatieKoch | osCMax v2 Installation issues | 0 | 06-23-2006 08:59 PM |
| Switching from shared to dedicated server - please help | markymrk22 | osCommerce 2.2 Installation Help | 3 | 09-15-2005 09:47 AM |
| Dedicated links page | andyshell | osCMax v1.7 General Mods Discussion | 3 | 08-13-2005 01:00 AM |
| Address book address line ordering | Anonymous | osCMax v1.7 Discussion | 2 | 11-29-2003 05:54 PM |