+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2009
    Location
    United Kingdom
    Posts
    489
    Downloads
    0
    Uploads
    17
    Blog Entries
    2

    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.
    Last edited by ovidiuu; 10-22-2009 at 02:06 PM.

  2. WebmasterServe Adverts:
  3. #2

    Default

    cant we install it manually and change the BASE URL etc from phpmyadmin ?

+ Reply to Thread

Similar Threads

  1. Domain Names Introduction
    By Sabre in forum Domain Names
    Replies: 0
    Last Post: 03-18-2009, 05:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

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