Wordpress - Setting up installations offline

by 14 replies
17
Greetings

I have noticed everyone seem to agree that you need to buy hosting and domain names BEFORE you actually engineer anything. This seems bad to me. Is there a way to setup everything BEFORE using a FTP to upload it to a host?

The purpose of course, is to setup the site, and be satisfied with it, before actually starting to dash out money for it.

Thanks in advance

Sokar
#website design #installations #offline #setting #wordpress
  • Yes there is, all developers including myself build off-line.

    We use server replica software that has the same services as a server, eg. PHP, SQL, Apache

    I personally favor apache friends - xampp

    If you need a breakdown on setup ,etc... I will add details.
    • [ 2 ] Thanks
    • [1] reply
    • I'm an absolute rookie to setting up websites, so any and all details are appreciated and won't be forgot
  • Could you give me some details about yourself so I know how specific I need to be.
    Eg. knowledge level of your computer, coding, etc...

    What is the OS of your computer?
    Mac, Windows Vista, Linux distro

    All of this stuff pertains to how detailed I need to get and what root to send you down.
    • [1] reply
    • When it comes to computers I'm pretty knowledgable, its not like I took up using computers yesterday (I'm 20). However I have little to no coding knowledge (however I'm gonna teach myself php before long). I know my way around windows XP, Vista without much difficulty. As for Linux and Mac I have 0 experience.
  • Use xampp for your os, and you can install wordpress, or other cms offline.
  • I use WAMP: Install PHP 5 Apache MySQL on Windows : WampServer

    I find it excellent, very easy to set up. You can set up your blog then on your own PC and access it through http://localhost/
    • [1] reply
    • Alright this was pretty simple, however I do have problems actually get Wordpress to work. I have moved the wordpress files into my www directory, however it won't let me passed the "Create Configuration"

      I add in some dump info just to get start to get into wordpress and start learning (QUESTION: If I intend on making a website this way, and publish it later, how do I go about this, and should I use valid information in the configuration. Valid in the sense that it has a long secure password?)

      However it says:

      What am I doing wrong?
  • If you created a database on the install then you may just need to add the database name, username, and password to your wp-config.php file.


    1. Find the wp-config-sample.php file.
    2. Open the file with a text editor.
    3. Find the following section and change the info in italics (database name, username, password):


    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', 'testwordpress'); Enter the MySQL database name

    /** MySQL database username */
    define('DB_USER', 'root');

    /** MySQL database password */
    define('DB_PASSWORD', 'root');

    /** MySQL hostname */
    define('DB_HOST', 'localhost');

    4. Save the file.
    5. Rename the file from wp-config-sample.php to wp-config.php.

    That might be the problem.
    • [1] reply
    • Getting the same message, its starting to get to me.. :confused:

      EDIT: Turns out the problem was quite obvious, it had something to do with the database and php. Now its working fine.

      Can someone tell me, how I export the site from my local server, and then upload it with a FTP problem to a online host?
  • You can set it up on free hosting from a provider such as FreePassHost.com before committing to paid hosting.

    As others have mentioned, you could install a web server on your home computer, but when you do so you will not have an environment that's the same as what you'd get if you paid for hosting.
    • [1] reply
    • From what I can gather, the WampServer thing that the guy above recommended, actually makes sure that the environment is just that, the same.

      Am I wrong?
  • I've used both WAMP and MAMP (for Macs) servers for development and everything is the same to me. Changes are pretty much instantaneous because the server is on your own machine. I'd be curious to know if there was anything different other than the location of the server.
  • I think either ithemes.com, webdesign.com or pluginbuddy.com have a free video tutorial on exactly this type of thing. I am certain the tute is there however can't guarantee it is one of the free ones.
    Personally I use a plug in to just move sites around from x to y, but it's a paid one and not sure if a free version exists.
  • @Sokar408 I am not familiar with WAMP, assuming it's not much different than others like XAMPP, did you use phpMyAdmin to create the database?

    If you did you can export it there.
    NOTE: settings will need to be changed in the options table of the database to move it.
    eg. Site URL, uploads path.....
    Your settings in the wp-config will need to be changed also to match the live server setup and database settings.

Next Topics on Trending Feed