Banner Top IMYours
Members: 10,712
Threads: 11,512
Posts: 39,207

Newest Member: johnhudson
  #1  
Old 10-22-2009, 01:00 PM
ovidiuu's Avatar
ovidiuu ovidiuu is offline
SEM Expert
 
Join Date: Jul 2009
Location: Romania
Posts: 230
iTrader: (0)
Thanks: 0
Thanked 3 Times in 3 Posts
ovidiuu is a name known to allovidiuu is a name known to allovidiuu is a name known to allovidiuu is a name known to allovidiuu is a name known to allovidiuu is a name known to all
Send a message via Yahoo to ovidiuu Send a message via Skype™ to ovidiuu
Default Installing WordPress on a server if the domain name does not point to it

In order to install a script on a hosting package if the domain name does not point to it you need to edit the file:

C:\Windows\System32\drivers\etc\hosts

and add the domain name and the IP of the hosting package like this:

XXX.XXX.XXX.XXX www.your-domain.ext

Replace the X with your domain IP

To open the hosts file On Windows Xp you can doit trough notepad. Simply open notepad and click on File -> Open then browse to the desired file and click OK.



To edit the Hosts File on Vista you have to Open Notepad with Administrative privileges by clicking Start, All Programs, Accessories, and then right-click Notepad and select to open as Administrator. Now that Notepad is open with Administrative privileges browse to (C:\Windows\System32\drivers\etc) in Notepad and open the hosts file.

If you open the hosts file on Windows Vista and then attempt to save it as a regular user, you will get an error message as show in the screenshot below ("Cannot create the c:\windows\system32\drivers\etc\hosts file. Make sure that the path and file name are correct):



The reason for the error message is not that it cannot be created, but that you do not have sufficient permissions to write to that file.
Running notepad as administrator

The solution to this error is to run notepad (or other editor) as administrator and you will then be able to save the hosts file with no issues. To do this, locate the "Notepad" program on the start menu (it's under "All Programs" then the "Accessories" folder. Right click the "Notepad" icon and select the "Run as administrator option as shown in the screenshot below.



By this your computer will resolve the domain name to the hosting package that you want and it works just like when the domain name points to that server.
__________________
I am working on the
To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
and mantaining
To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
. Stay tuned for the
To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

Last edited by ovidiuu; 10-22-2009 at 01:06 PM.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT +1. The time now is 03:14 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154