Results 1 to 8 of 8

How do I use dedicated IP address while setting up?

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 ...

      
  1. #1
    Lurker
    Join Date
    Sep 2006
    Posts
    4
    Rep Power
    0


    Default How do I use dedicated IP address while setting up?

    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: How do I use dedicated IP address while setting up?

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Lurker
    Join Date
    Sep 2006
    Posts
    4
    Rep Power
    0


    Default RE: How do I use dedicated IP address while setting up?

    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. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: How do I use dedicated IP address while setting up?

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    Lurker
    Join Date
    Sep 2006
    Posts
    4
    Rep Power
    0


    Default RE: How do I use dedicated IP address while setting up?

    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. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: How do I use dedicated IP address while setting up?

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    Lurker
    Join Date
    Sep 2006
    Posts
    4
    Rep Power
    0


    Default RE: How do I use dedicated IP address while setting up?

    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. #8
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default RE: How do I use dedicated IP address while setting up?

    That is what I suggested you do in the first place...
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Is this the correct setting?
    By CatieKoch in forum osCmax v2 Installation issues
    Replies: 0
    Last Post: 06-23-2006, 08:59 PM
  2. Switching from shared to dedicated server - please help
    By markymrk22 in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 09-15-2005, 09:47 AM
  3. Dedicated links page
    By andyshell in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 08-13-2005, 01:00 AM
  4. Address book address line ordering
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-29-2003, 05:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •