Test Image Serving upgrade instructions | Scene7

Test the Image Serving upgrade 

Replace hostname.scene7.com, with the applicable domain used on your website.

Replace hostname.scene7.com referred to below, with the applicable domain used on your website.

Replace [IP] with the IP address of the staging server, applicable to your region.

  • North America: 130.248.148.148
  • EMEA: 192.243.254.7
  • APAC: 63.140.45.139

Windows

  1. Edit the Host or Hosts file using Notepad (on most Windows computers, it is located in the C:\WINDOWS\system32\drivers\etc folder). Note: on some Windows computers, the file is in the \WinNT\system32\drivers\etc folder. The file is named Hosts – with no filename extension. If your computer has no Hosts file, start Notepad with a blank file.
    Windows 7 Users: To edit the host file, Click Start – search for “Notepad," right-click and select “Run as Administrator." Now, open the host file from the File menu, edit, and save. Add this line as the first line in the file:
    1. IP hostname.scene7.com (example: 10.11.12.13 images.mycompany.com)
      Do not change any of the other lines in this file (if any). Save it- making sure that it does not save with a .TXT filename extension. From Notepad, choose File > Save As, then set Save as Type to All Files. Ensure that the filename is simply Hosts, and then save it.
  2. The changes take effect immediately. If not, restart your computer, then test it out. Note: if you want to avoid restarting, do the following:
    1. Choose Start > Run and type CMD, then click OK to open a Command Window
    2. Enter the command nbtstat -R (the "R" must be uppercase).
    3. Enter the command nbtstat -RR (both R's must be uppercase).
    4. Enter the command ipconfig /flushdns

    Testing for success:

    1. Enter the command ping images.mycompany.com - you should see the IP address of the staging server, which you entered into your hosts file
    2. Enter the command exit to close the Command Window.


  3. Go to your website and test your images and viewers. Check that any commands are applied correctly. Note: you could encounter broken images while testing if the staging environment being out of sync with production.
  4. When you are done reviewing the staging server, edit the Hosts file and remove the link that was added. Save the file again and restart.

Note: If you have trouble changing your hosts file, see here or contact your local IT helpdesk

Mac OS

Mac OS X 10.2 or later

Edit the /private/etc/hosts file. For more information on how to use the hosts file, open Terminal and type: man hosts

Note: Editing this file requires root privileges.

Mac OS X 10.0 through 10.1.5

  1. Open /Applications/Utilities/NetInfo Manager.
  2. To allow editing the NetInfo database, click the padlock in the lower-left corner of the window.
  3. Enter your Admin password and click OK.
  4. In the second column of the browser view, select the node named "machines." You see entries for DHCP, broadcasthost, and localhost in the third column.
  5. The quickest way to create an entry is to duplicate an existing one. So select the "localhost" item in the third column.
  6. Choose Duplicate from the Edit menu. A confirmation alert appears.
  7. Click Duplicate. A new entry called "localhost copy" appears, and its properties are shown below the browser view.
  8. Double-click the value of the ip_address property and enter the IP address of the other computer. [IP] hostname.scene7.com
  9. Double-click the value of the name property and enter the host name you want for the other computer.
  10. Click the serves property and choose Delete from the Edit menu.
  11. Choose Save from the File menu. A confirmation alert appears.
  12. Click Update this copy.
  13. Repeat steps 6 through 12 for each additional host entry you want to add.
  14. Choose Quit from the NetInfo Manager menu. You do not need to restart the computer.
  15. Testing for success:

    Do a ping on the domain you use - you should see the IP address of the staging server, which you entered into your hosts file. http://www.wikihow.com/Ping-on-Mac-OS

    Go to your website and test your images and viewers. Check that any commands are applied correctly. Note: you could encounter broken images while testing if the staging environment being out of sync with production.

    Linux

    1. With the editor of your choice, open the file from ROOT /etc/hosts.
    2. Add the host entry:
      [IP] hostname.scene7.com
    3. Save and quit the file.
    4. Depending on your version, you could have to restart for the updated file to take effect.
    5. Testing for success:
    6. Do a ping on the domain you use - you should see the IP address of the staging server, which you entered into your hosts file.
    7. Go to your website and test your images and viewers. Check that any commands are applied correctly. Note: you could encounter broken images while testing if the staging environment being out of sync with production. When you are done reviewing the staging server, edit the Hosts file and remove the link which was added.

     Adobe

    קבל עזרה במהירות ובקלות

    משתמש חדש?