---
schema_version: "1"
id: 1eca316337ae118b03106ef5748252ce9dd9e7dafe0ac60df724cd368741b5a8
title: Ensure Accurate Page Previews with Enhanced Hostname Handling
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_25_6_accurate_page_previews.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_25_6_accurate_page_previews.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fc0eeda1bbab5a034024bc8b4c28c0c65057d55ff0d2ecc7cc01af997ee059df
description: To generate accurate preview links, Page Designer now considers all configured hostnames in the Alias file. This avoids Cross-Origin Resource Sharing (CORS) issues with AJAX calls, and ensures that your storefront previews are reliable, consistent, and reflective of the live storefront experience. Previously, Page Designer used only the https-host from the alias file in Business Manager to decide which hostname to use for the preview link.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Ensure Accurate Page Previews with Enhanced Hostname Handling

To generate accurate preview links, Page Designer now considers all configured hostnames in the Alias file. This avoids Cross-Origin Resource Sharing (CORS) issues with AJAX calls, and ensures that your storefront previews are reliable, consistent, and reflective of the live storefront experience. Previously, Page Designer used only the https-host from the alias file in Business Manager to decide which hostname to use for the preview link.

**How:** In Business Manager, select **Apps Switcher** | **Merchant Tools** | **SEO** | **Aliases**. Make sure that all configured hostnames in the Alias file point to the correct instance. This helps avoid unexpected issues and ensure that page previews are accurate.