Skip to content
biukop.com 1800 181 522

In short, we need to add one line of text  at the end of C:\windows\system32\drivers\etc\hosts

149.28.165.205            supercredit.com.au
149.28.165.205            www.supercredit.com.au

 

add one line of text at /etc/hosts

149.28.165.205 supercredit.com.au
149.28.165.205 www.supercredit.com.au

add one line of text at /etc/hosts

149.28.165.205 supercredit.com.au

switching between staging and production

Demo of switching between staging and production, for MacOSX, Unix, Solaris,HP-UX, Linux

Detailed steps with screenshots

open a terminal to edit /etc/hosts
Add one line of text and save it.

Detailed steps with screenshots

open Notepad with administrative Privilege

Step 1. Open Notepad from windows’ start menu (right-click on menu item)

Choose yes when prompt for security

Step 2. When asked to confirm access, please select yes.

Open file dialog

Step 3. Open file

Type in hosts file path c:\windows\system32\drivers\etc\hosts

Step 4. Type in C:\windows\system32\drivers\etc\hosts and click open

navigate to the end of file

Step 5. navigate to the end of file

Add one line of text and save

Step 6. add one line of text and then save

Access website as usual

Step 7. Visit staging server as if it’s online and published

Back To Top