Accessing your web site before DNS propagation is complete
DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.
After you update your domain’s name server settings, DNS propagation can take 24 hours to complete. During this time, you cannot use your domain name. However, you can bypass DNS and view your web site by using a shared URL or the hosts file.
ImportantSome content management systems (CMS) and web applications may not display correctly when you use a shared URL. This is because they are configured to use your domain name, which is different from the shared URL. For example, you must update two database settings every time you use a different domain name with WordPress.
Another method for bypassing DNS is to use the hosts file on your local computer. The hosts file contains domain name to IP address mappings. These mappings mimic the function of a DNS server, and allow you to “trick” your computer into associating a domain name with a particular IP address.To use the hosts file to bypass DNS for your domain, follow these steps:
Open the hosts file in a text editor. The location of the hosts file depends on your computer’s operating system:
On Microsoft Windows computers, the hosts file is located at %SystemRoot%\system32\drivers\etc\hosts.
📘 Note
On Windows Vista, Windows 7, and Windows 8, click Start, search for Notepad, right-click the icon, and select Run as Administrator.
On Windows 10, Windows 11, click Start, type notepad, right-click Notepad, and then click Run as administrator. This starts Notepad with the elevated privileges necessary to open, modify, and save the hosts file. Note that in Notepad’s Open dialog, you must use the All Files filter to see the hosts file.
On Apple Macintosh computers, the hosts file is located at /etc/hosts. For example, in a terminal window type sudo nano /etc/hosts to open the file in a text editor with the correct permissions.
On Linux computers, the hosts file is located at /etc/hosts.
🚧 ImportantThe hosts file is a plain text file, so you should use a plain text editor like Notepad or nano to edit it. Do not use a word processor like Microsoft Word, which can add additional formatting and cause more problems than it solves!
When you open the hosts file, you should see an entry that resembles the following line:
127.0.0.1 localhost
To create a new mapping for your domain, add the following line to the file:
192.0.43.10 example.com www.example.com
Replace the IP address with your MelbourneIT server’s IP address, and replace example.com with your web site’s domain name. You can obtain your account’s IP address by logging in to https://clients.melbourneit.com.au/
Save the hosts file and exit the text editor. For example, if you are using the nano text editor, press Ctrl+O, press Enter, and then press Ctrl+X.
🚧 ImportantIf you are using macOS, you should also clear the DNS cache.
To test the configuration, restart your web browser and go to http://example.com or http://www.example.com, where_example.com_ represents your domain name. You should see your web site’s main page (assuming you have created some content).
🚧 ImportantAfter DNS propagation is complete, make sure you go back and remove the relevant entries from the hosts file!
Modern browsers increasingly expect SSL connections and generate error messages when SSL is not used. To get the best preview of your site before DNS updates, use one of the following methods. These methods only work with the hosts file method described above.
If your site currently has an SSL certificate, you can move it to your new location. To move the SSL certificate, make a copy of the certificate and the private key. It is not necessary to move files; you can simply copy the certificate and key to your computer’s clipboard and then paste it in place.
If you do not already have an SSL certificate, you can create one and use it temporarily to view your site with SSL. When your site is ready to go live, you should replace the self-signed certificate with a certificate from a recognized certificate authority (CA).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Melbourne IT","colors":{"primary":"#CE2C2A","light":"#E04A48","dark":"#A82220"},"logo":{"light":"https://mintcdn.com/melbourne-it/DnV4Qmnx-bquxZu0/logo/light.svg?fit=max\u0026auto=format\u0026n=DnV4Qmnx-bquxZu0\u0026q=85\u0026s=90d103564beb4d41a18676d2613a331a","dark":"https://mintcdn.com/melbourne-it/DnV4Qmnx-bquxZu0/logo/dark.svg?fit=max\u0026auto=format\u0026n=DnV4Qmnx-bquxZu0\u0026q=85\u0026s=c0315f41dda683ddab666a1cd36354ba"},"favicon":"https://mintlify.s3.us-west-1.amazonaws.com/melbourne-it/favicon.svg","appearance":{"default":"light"},"navbar":{"links":[{"href":"https://melbourneit.au/about","label":"About Melbourne IT"}],"primary":{"type":"button","label":"Log In","href":"https://theconsole.melbourneit.au"}},"footer":{"socials":{"linkedin":"https://au.linkedin.com/company/melbourneit","x":"https://twitter.com/melbourneit","youtube":"https://www.youtube.com/user/melbourneit"},"links":[{"header":"Small Business","items":[{"label":"Domain Names","href":"https://www.melbourneit.au/domain-names"},{"label":"Domain Search","href":"https://www.melbourneit.au/domain-search"},{"label":"Renew Domain","href":"https://theconsole.melbourneit.com.au/execute2/store/external-domain-renewal?start="},{"label":"Transfer Domain","href":"https://theconsole.melbourneit.au/execute2/store/multi-domain-transfer?start="},{"label":"Trademark Clearinghouse","href":"https://corporate.melbourneit.com.au/trademark-clearinghouse"},{"label":"Trademark Services","href":"https://corporate.melbourneit.com.au/trademark-registration"},{"label":"Password Recovery","href":"https://theconsole.melbourneit.com.au/execute2/account/newinterface/forgot-password"},{"label":"Whois Lookup","href":"https://whois.melbourneit.com.au/"},{"label":"Web \u0026 Email Forwarder","href":"https://www.melbourneit.au/email-forwarder"},{"label":"cPanel Hosting","href":"https://melbourneit.au/web-hosting/cpanel-hosting"},{"label":"Free Hosting Trial","href":"https://melbourneit.au/web-hosting/free-trial"}]},{"header":"Websites, Email \u0026 Marketing","items":[{"label":"Website Design","href":"https://melbourneit.au/websites/custom-web-design"},{"label":"Website Builder","href":"https://melbourneit.au/websites/website-builder"},{"label":"Ecommerce Wordpress","href":"https://melbourneit.au/ecommerce-websites"},{"label":"Done For You Websites","href":"https://melbourneit.au/websites/custom-web-design"},{"label":"WordPress Websites","href":"https://melbourneit.au/web-hosting/wordpress"},{"label":"Microsoft 365","href":"https://melbourneit.au/email-hosting/microsoft-365"},{"label":"Search Engine Marketing","href":"https://melbourneit.au/online-marketing/pay-per-click"},{"label":"Search Engine Optimisation","href":"https://melbourneit.au/online-marketing/search-engine-optimisation"},{"label":"Managed Social Media","href":"https://melbourneit.au/online-marketing/social-media-advertising"}]},{"header":"Support \u0026 Security","items":[{"label":"SSL Certificates","href":"https://www.melbourneit.au/security/ssl-certificates"},{"label":"About Small Business","href":"https://www.melbourneit.au/about-us"},{"label":"Support","href":"https://support.melbourneit.au/"},{"label":"Service Status","href":"https://status.melbourneit.au/"},{"label":"Small Business Terms","href":"https://melbourneit.au/"},{"label":"Contact Us","href":"https://www.melbourneit.au/contact-us"},{"label":"Blog","href":"https://melbourneit.au/blog"},{"label":"Policies","href":"https://melbourneit.au/legals"}]},{"header":"About WebCentral Group","items":[{"label":"About Melbourne IT","href":"https://melbourneit.au/about-us"},{"label":"Our People","href":"https://webcentral.au/corporate/leadership"},{"label":"Privacy","href":"https://melbourneit.au/legals"},{"label":"Careers","href":"https://webcentral.au/careers"},{"label":"Investors","href":"https://webcentral.au/corporate/investors"},{"label":"Sitemap","href":"https://www.melbourneit.au/sitemap"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"melbourne-it","hasAudioNarration":false,"actualSubdomain":"melbourne-it","customDomains":["support.melbourneit.au"],"gitSource":{"type":"github","owner":"panaras10","repo":"melbourneitknowledgebase","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6a9804900190f9ba9f8c3abc","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Domains","count":26},{"language":"default","tag":"Emails","count":21},{"language":"default","tag":"Your Melbourne IT Account","count":16},{"language":"default","tag":"Website \u0026 Hosting","count":16},{"language":"default","tag":"How To Guides","count":9},{"language":"default","tag":"Account Management","count":7},{"language":"default","tag":".AU Domains and auDA","count":7},{"language":"default","tag":"Billing","count":5},{"language":"default","tag":"gTLDs and ICANN","count":5},{"language":"default","tag":"Professional Mail","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"domains/accessing-your-website-before-DNS-propagation","slug":"/domains/accessing-your-website-before-DNS-propagation","pageMetadata":{"title":"Accessing your web site before DNS propagation is complete","description":"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.","href":"/domains/accessing-your-website-before-DNS-propagation"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,code:`code`,em:`em`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`After you update your domain’s name server settings, DNS propagation can\\xA0take\\xA024 hours\\xA0to complete. During this time, you cannot use your domain name. However, you can bypass DNS and view your web site by using a shared URL or the `,_jsx(_components.em,{children:`hosts`}),` file.`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Important`})}),_jsx(_components.p,{children:`Some content management systems (CMS) and web applications may not display correctly when you use a shared URL. This is because they are configured to use your domain name, which is different from the shared URL. For example, you must update two database settings every time you use a different domain name with WordPress.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`method-#1-use-the-hosts-file`,children:`Method #1: Use the hosts file`}),`\n`,_jsxs(_components.p,{children:[`Another method for bypassing DNS is to use the `,_jsx(_components.em,{children:`hosts`}),` file on your local computer. The `,_jsx(_components.em,{children:`hosts`}),` file contains domain name to IP address mappings. These mappings mimic the function of a DNS server, and allow you to “trick” your computer into associating a domain name with a particular IP address.`]}),`\n`,_jsxs(_components.p,{children:[`To use the `,_jsx(_components.em,{children:`hosts`}),` file to bypass DNS for your domain, follow these steps:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the `,_jsx(_components.em,{children:`hosts`}),` file in a text editor. The location of the `,_jsx(_components.em,{children:`hosts`}),` file depends on your computer’s operating system:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`On Microsoft Windows computers, the `,_jsx(_components.em,{children:`hosts`}),` file is located at `,_jsx(_components.em,{children:`%SystemRoot%\\\\system32\\\\drivers\\\\etc\\\\hosts`}),`.`,`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`📘 Note`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`On Windows Vista, Windows 7, and Windows 8, click `,_jsx(_components.strong,{children:`Start`}),`, search for Notepad, right-click the icon, and select `,_jsx(_components.strong,{children:`Run as Administrator`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`On Windows 10, Windows 11, click `,_jsx(_components.strong,{children:`Start`}),`, type `,_jsx(_components.code,{children:`notepad`}),`, right-click `,_jsx(_components.strong,{children:`Notepad`}),`, and then click `,_jsx(_components.strong,{children:`Run as administrator`}),`.`,_jsx(`br`,{}),`This starts Notepad with the elevated privileges necessary to open, modify, and save the `,_jsx(_components.em,{children:`hosts`}),` file. Note that\\xA0in Notepad’s `,_jsx(_components.strong,{children:`Open`}),` dialog, you must use the `,_jsx(_components.strong,{children:`All Files`}),` filter to see the `,_jsx(_components.em,{children:`hosts`}),` file.`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`On Apple Macintosh computers, the `,_jsx(_components.em,{children:`hosts`}),` file is located at `,_jsx(_components.em,{children:`/etc/hosts`}),`. For example, in a terminal window`,_jsx(`br`,{}),`type `,_jsx(_components.code,{children:`sudo nano /etc/hosts`}),` to open the file in a text editor with the correct permissions.`]}),`\n`,_jsxs(_components.li,{children:[`On Linux computers, the `,_jsx(_components.em,{children:`hosts`}),` file is located at `,_jsx(_components.em,{children:`/etc/hosts`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`🚧 Important`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.em,{children:`hosts`}),` file is a plain text file, so you should use a plain text editor like Notepad or nano to edit it. Do `,_jsx(_components.strong,{children:`not`}),` use a word processor like Microsoft Word, which can add additional formatting and cause more problems than it solves!`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`When you open the `,_jsx(_components.em,{children:`hosts`}),` file, you should see an entry that resembles the following line:`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`127.0.0.1 localhost`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`To create a new mapping for your domain, add the following line to the file:`,`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`192.0.43.10 example.com www.example.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Replace the IP address with your MelbourneIT server’s IP address, and replace `,_jsx(_components.em,{children:`example.com`}),` with your web site’s domain name. You can obtain your account’s IP address by logging in to `,_jsx(_components.a,{href:`https://clients.melbourneit.com.au/`,children:`https://clients.melbourneit.com.au/`})]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsxs(_components.li,{children:[`Save the `,_jsx(_components.em,{children:`hosts`}),` file and exit the text editor. For example, if you are using the nano text editor, press `,_jsx(_components.strong,{children:`Ctrl+O`}),`, press `,_jsx(_components.strong,{children:`Enter`}),`, and then press `,_jsx(_components.strong,{children:`Ctrl+X`}),`.`,`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`🚧 Important`}),`\n`,_jsx(_components.p,{children:`If you are using macOS, you should also clear the DNS cache.`}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`To test the configuration, restart your web browser and go to `,_jsx(_components.a,{href:`http://example.com`,children:_jsx(_components.em,{children:`http://example.com`})}),` or `,_jsx(_components.a,{href:`http://www.example.com`,children:_jsx(_components.em,{children:`http://www.example.com`})}),`, where_example.com_ represents your domain name. You should see your web site’s main page (assuming you have created some content).`,`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsx(_components.p,{children:`🚧 Important`}),`\n`,_jsxs(_components.p,{children:[`After DNS propagation is complete, make sure you go back and remove the relevant entries from the `,_jsx(_components.em,{children:`hosts`}),` file!`]}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`ssl-certificates-before-propagation`,children:`SSL certificates before propagation`}),`\n`,_jsxs(_components.p,{children:[`Modern browsers increasingly expect SSL connections and generate error messages when SSL is not used. To get the best preview of your site before DNS updates, use one of the following methods. These methods only work with the `,_jsx(_components.em,{children:`hosts`}),` file method described above.`]}),`\n`,_jsx(Heading,{level:`3`,id:`copying-an-existing-ssl-certificate`,children:`Copying an existing SSL certificate`}),`\n`,_jsx(_components.p,{children:`If your site currently has an SSL certificate, you can move it to your new location. To move the SSL certificate, make a copy of the certificate and the private key. It is not necessary to move files;\\xA0you can simply copy the certificate and key to your computer’s clipboard and then paste it in place.`}),`\n`,_jsx(Heading,{level:`3`,id:`using-a-self-signed-certificate`,children:`Using a self-signed certificate`}),`\n`,_jsx(_components.p,{children:`If you do not already have an SSL certificate, you can create one and use it temporarily to view your site with SSL. When your site is ready to go live, you should replace the self-signed certificate with a certificate from a recognized certificate authority (CA).`}),`\n`,_jsx(Heading,{level:`2`,id:`more-information`,children:`More information`}),`\n`,_jsxs(_components.p,{children:[`For more information about the `,_jsx(_components.em,{children:`hosts`}),` file, please visit `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Hosts_(file)`,children:`http://en.wikipedia.org/wiki/Hosts_(file)`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Accessing your web site before DNS propagation is complete","description":"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.","href":"/domains/accessing-your-website-before-DNS-propagation"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Method #1: Use the hosts file","slug":"method-#1-use-the-hosts-file","depth":2,"children":[]},{"title":"SSL certificates before propagation","slug":"ssl-certificates-before-propagation","depth":2,"children":[{"title":"Copying an existing SSL certificate","slug":"copying-an-existing-ssl-certificate","depth":3,"children":[]},{"title":"Using a self-signed certificate","slug":"using-a-self-signed-certificate","depth":3,"children":[]}]},{"title":"More information","slug":"more-information","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"melbourne-it","siteName":"Melbourne IT","title":"Accessing your web site before DNS propagation is complete - Melbourne IT","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-31T09:14:56.526Z","originalFileLocation":"domains/accessing-your-website-before-DNS-propagation.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Melbourne IT\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/melbourne-it/favicon.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/melbourne-it/favicon.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/melbourne-it/favicon.svg\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/melbourne-it/favicon.svg\">\u003cmeta data-mint-head property=\"og:title\" content=\"Accessing your web site before DNS propagation is complete - Melbourne IT\">\u003cmeta data-mint-head property=\"og:description\" content=\"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Melbourne IT\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://melbourne-it.mintlify.site/_mintlify/api/og/v2?division=Domains\u0026amp;title=Accessing+your+web+site+before+DNS+propagation+is+complete\u0026amp;description=DNS+propagation+must+complete+before+starting+to+use+your+domain+name.+Read+this+article+to+learn+methods+for+viewing+your+site+before+it+completes.\u0026amp;theme=2665382004f2377a80cd6b32\u0026amp;signature=5503290de765a07162a3309c9ae567e05e65211fd2b1b66fad5da4c5575ae1b4\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Accessing your web site before DNS propagation is complete - Melbourne IT\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://melbourne-it.mintlify.site/_mintlify/api/og/v2?division=Domains\u0026amp;title=Accessing+your+web+site+before+DNS+propagation+is+complete\u0026amp;description=DNS+propagation+must+complete+before+starting+to+use+your+domain+name.+Read+this+article+to+learn+methods+for+viewing+your+site+before+it+completes.\u0026amp;theme=2665382004f2377a80cd6b32\u0026amp;signature=5503290de765a07162a3309c9ae567e05e65211fd2b1b66fad5da4c5575ae1b4\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/melbourne-it/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Melbourne IT\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#CE2C2A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/domains/accessing-your-website-before-DNS-propagation.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://support.melbourneit.au/#organization\",\"name\":\"Melbourne IT\",\"url\":\"https://support.melbourneit.au\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/melbourne-it/DnV4Qmnx-bquxZu0/logo/light.svg?fit=max\u0026auto=format\u0026n=DnV4Qmnx-bquxZu0\u0026q=85\u0026s=90d103564beb4d41a18676d2613a331a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://support.melbourneit.au#website\",\"name\":\"Melbourne IT\",\"url\":\"https://support.melbourneit.au\",\"publisher\":{\"@id\":\"https://support.melbourneit.au/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation#webpage\",\"url\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation\",\"name\":\"Accessing your web site before DNS propagation is complete\",\"description\":\"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.\",\"dateModified\":\"2026-07-31T09:14:56.526Z\",\"isPartOf\":{\"@id\":\"https://support.melbourneit.au#website\"},\"breadcrumb\":{\"@id\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Domains\",\"item\":\"https://support.melbourneit.au/domains/moving-your-domains-to-melbourne-it\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accessing your web site before DNS propagation is complete\",\"item\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation#article\",\"headline\":\"Accessing your web site before DNS propagation is complete\",\"name\":\"Accessing your web site before DNS propagation is complete\",\"description\":\"DNS propagation must complete before starting to use your domain name. Read this article to learn methods for viewing your site before it completes.\",\"url\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation\",\"mainEntityOfPage\":{\"@id\":\"https://support.melbourneit.au/domains/accessing-your-website-before-DNS-propagation#webpage\"},\"dateModified\":\"2026-07-31T09:14:56.526Z\",\"publisher\":{\"@id\":\"https://support.melbourneit.au/#organization\"},\"isPartOf\":{\"@id\":\"https://support.melbourneit.au#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Melbourne IT\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Melbourne IT","nav":{"global":null,"pages":[{"title":"Melbourne IT Support","mode":"custom","href":"/index"},{"group":"Your Melbourne IT Account","icon":"user","pages":[{"title":"Welcome to Melbourne IT","href":"/account/welcome-to-melbourneit"},{"title":"Moving to Melbourne IT","href":"/account/moving-to-melbourneit"},{"title":"Locating your Support Pin","href":"/account/locating-your-support-pin"},{"title":"Where to find a list of your services","href":"/account/where-to-find-a-list-of-your-services"},{"group":"Account Management","pages":[{"title":"Account Management","sidebarTitle":"Overview","href":"/account/management/overview"},{"title":"How to Log In","href":"/account/management/how-to-log-in"},{"title":"How To Recover Your Password","href":"/account/management/how-to-recover-your-password"},{"title":"Multi-Factor Authentication Guide","href":"/account/management/multi-factor-authentication-guide"},{"title":"Update Account Contact Information","href":"/account/management/update-account-contact-information"},{"title":"Locating account notifications","href":"/account/management/locating-account-notifications"},{"title":"Service Level Delegate Access","href":"/account/management/delegate-access"}]},{"group":"Billing","pages":[{"title":"Billing","sidebarTitle":"Overview","href":"/account/billing/overview"},{"title":"Cancelling a subscription service","href":"/account/billing/how-to-cancel-subscription-services"},{"title":"Billing Options","href":"/account/billing/billing-options"},{"title":"How to add a new payment method and Topup Account Credit","href":"/account/billing/how-to-add-a-new-payment-method"},{"title":"Where to Locate Account Invoices","href":"/account/billing/where-to-locate-account-invoices"}]}]},{"group":"Domains","icon":"globe","pages":[{"title":"Moving Your Domains To Melbourne IT","href":"/domains/moving-your-domains-to-melbourne-it"},{"group":".AU Domains and auDA","pages":[{"title":".AU Domains and auDA","sidebarTitle":"Overview","href":"/domains/au-domains/overview"},{"title":"Eligibility for .au Domains","href":"/domains/au-domains/requirements-for-au-domains"},{"title":".au Domain Eligibility Complaints And Scenarios","href":"/domains/au-domains/au-domain-eligibility-complaints-and-scenarios"},{"title":"What is the life cycle of a .au domain name?","href":"/domains/au-domains/what-is-the-life-cycle-of-a-au-domain-name"},{"title":"Transferring Ownership or Updating Eligibility ID for .AU Domains/Change of Registrant (COR)","href":"/domains/au-domains/transferring-ownership-or-updating-eligibility-id-for-au-domains"},{"title":"Registrant (ABN/ACN) Compared with Registrant Contact","href":"/domains/au-domains/registrant-abnacn-compared-with-registrant-contact"},{"title":"Changes to .ORG.AU Domains in 2021","href":"/domains/au-domains/changes-to-orgau-domains-in-2021"}]},{"group":"gTLDs and ICANN","pages":[{"title":"gTLDs and ICANN","sidebarTitle":"Overview","href":"/domains/gtlds-and-icann/overview"},{"title":"What is the life cycle of a gTLD?","href":"/domains/gtlds-and-icann/gtld-domain-expiration-cycle"},{"title":"Whois Data Validation FAQ","href":"/domains/gtlds-and-icann/whois-data-validation-faq"},{"title":"My Domain Is In REDEMPTION Status! What Do I Do?","href":"/domains/gtlds-and-icann/my-domain-is-in-redemption-status-what-do-i-do"},{"title":"Domain Privacy","href":"/domains/gtlds-and-icann/domain-privacy"}]},{"group":"ccTLDs","pages":[{"title":"ccTLDs","sidebarTitle":"Overview","href":"/domains/cctlds/overview"},{"title":"How Do I transfer a .co.uk domain?","href":"/domains/cctlds/how-do-i-transfer-a-couk-domain"}]},{"title":"How to Manage Your Domain name","href":"/domains/how-to-manage-your-domain-name"},{"title":"How to Update WHOIS Contact Details","href":"/domains/how-to-update-whois-contact-details"},{"title":"Auto renewal for Domain Names","href":"/domains/auto-renewal-for-domain-names"},{"title":"Cancelling Service After Domain Transfers","href":"/domains/faq-i-moved-my-domain-name-from-melbourne-it-to-another-provider-but-im-still-being-charged"},{"title":"How do I register a domain name?","href":"/domains/how-do-i-register-a-domain-name"},{"title":"I’ve Registered The Wrong Domain! What Do I Do?","href":"/domains/ive-registered-the-wrong-domain-what-do-i-do"},{"title":"How Can I Dispute A Domain Name Registration?","href":"/domains/how-can-i-dispute-a-domain-name-registration"},{"title":"Reporting Domain Name Policy Breaches","href":"/domains/reporting-domain-name-policy-breaches"},{"title":"Domain Passwords/EPP Codes/UDAI","href":"/domains/domain-passwordsepp-codesudai"},{"title":"ICANN Registration Data Policy changes 2025","description":null,"href":"/domains/icann-registration-data-policy-changes-2025"},{"title":"Accessing your web site before DNS propagation is complete","href":"/domains/accessing-your-website-before-DNS-propagation"}]},{"group":"Website \u0026 Hosting","icon":"server","pages":[{"title":"Moving your Website to Melbourne IT","description":null,"href":"/hosting/moving-your-website-to-melbourne-it"},{"group":"DNS and Zones","pages":[{"title":"DNS and Zones","sidebarTitle":"Overview","href":"/hosting/dns/overview"},{"title":"Understanding DNS","href":"/hosting/dns/understanding-dns"},{"title":"Managing DNS in Your Client Area","href":"/hosting/dns/managing-dns-in-your-client-area"},{"title":"Managing DNS in cPanel or Wordpress Hosting","href":"/hosting/dns/how-do-i-manage-my-dns-on-cpanel"}]},{"group":"SSL Certificates","pages":[{"title":"SSL Certificates","sidebarTitle":"Overview","href":"/hosting/ssl/overview"},{"title":"External hosting SSL Setup","href":"/hosting/ssl/external-hosting-ssl-setup"},{"title":"Can one SSL cover multiple domains?","href":"/hosting/ssl/can-one-ssl-cover-multiple-domains"},{"title":"SSL FAQ","hidden":true,"href":"/hosting/ssl/ssl-faq"}]},{"title":"Initial Troubleshooting for Website Errors","href":"/hosting/troubleshooting-website-errors"},{"title":"How do I upload and download files via FTP?","href":"/hosting/how-do-i-upload-and-download-files-via-ftp"},{"title":"How do I upload (FTP) my website?","href":"/hosting/how-do-i-upload-ftp-my-website"},{"title":"How to back up your website?","href":"/hosting/how-to-back-up-your-website"},{"title":"How can I make my website more secure?","href":"/hosting/how-can-i-make-my-website-more-secure"},{"title":"Reporting Abuse","href":"/hosting/reporting-abuse"},{"title":"Known Scams","href":"/hosting/known-scams"},{"title":"How to redirect your domain to another website using cPanel","href":"/hosting/redirect-domain-cpanel"},{"title":"Setup Website and URL forwarding","hidden":true,"href":"/hosting/setup-website-and-url-forwarding"},{"title":"How do I manage databases like MySQL?","hidden":true,"href":"/hosting/how-do-i-manage-databases-like-mysql"},{"title":"Enabling phpMyAdmin for MySQL","hidden":true,"href":"/hosting/enabling-phpmyadmin-for-mysql"},{"title":"cPanel Hosting Upgrades (server-cpanel.com servers)","hidden":true,"href":"/hosting/cpanel-hosting-upgrades-server-cpanelcom-servers"}]},{"group":"Emails","icon":"envelope","pages":[{"title":"Moving Your Emails to Melbourne IT","href":"/emails/moving-your-emails-to-melbourne-it"},{"group":"How To Guides","pages":[{"title":"How To Guides","sidebarTitle":"Overview","href":"/emails/how-to-guides/overview"},{"title":"Application Setup Guides","href":"/emails/how-to-guides/application-setup-guides"},{"title":"How to log into webmail","href":"/emails/how-to-guides/how-to-log-into-webmail-1"},{"title":"How to change Outlook settings for Cloud email","href":"/emails/how-to-guides/how-to-change-outlook-settings-for-cloud-email"},{"title":"How to - macOS Sonoma Mail app","href":"/emails/how-to-guides/how-to-macos-sonoma-mail-app"},{"title":"How to - Outlook \"New\" on Windows","href":"/emails/how-to-guides/how-to-outlook-new-here"},{"title":"How to - iOS and iPadOS mail app","href":"/emails/how-to-guides/how-to-ios-and-ipados-mail-app"},{"title":"How to - Outlook on iOS or iPadOS app","href":"/emails/how-to-guides/how-to-outlook-on-ios-or-ipados-app"},{"title":"How to - Backup with Outlook","href":"/emails/how-to-guides/how-to-backup-with-outlook"}]},{"group":"Professional Mail","pages":[{"title":"Professional Mail","sidebarTitle":"Overview","href":"/emails/professional-mail/overview"},{"title":"Professional Email Setup","href":"/emails/professional-mail/professional-business-email-setup"},{"title":"Professional Email Migration Tool","href":"/emails/professional-mail/professional-mail-migration-tool"},{"title":"How to Reset Password for Professional and Business Email Accounts","href":"/emails/professional-mail/how-to-reset-password-for-professional-and-business-email-accounts"},{"title":"How to add your Professional Email to Apple Mail on a Mac","href":"/emails/professional-mail/apple-mail-mac"}]},{"title":"Email Settings for Mail Applications","href":"/emails/email-settings-for-mail-applications"},{"title":"Email sending restrictions","href":"/emails/email-sending-restrictions"},{"title":"My email disk space is full. What do I do to fix it?","href":"/emails/my-email-disk-space-is-full-what-do-i-do-to-fix-it"},{"title":"My e-mails have been blacklisted","href":"/emails/my-e-mails-have-been-blacklisted"},{"title":"Webmail login","href":"/emails/webmail-login"},{"title":"Making Changes to Existing Exchange and Microsoft 365 for Android","href":"/emails/exchange-microsoft-365-android"}]}]},"basePath":"","title":"Accessing your web site before DNS propagation is complete - Melbourne IT","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}