Results 1 to 4 of 4
  1. #1

    Altering the default www directory (unsure how to word this properly).

    Hello everyone, and thank you in advance for your help. Sorry in advance if this is in the wrong forum...

    I need to assign a new 'default' folder/location as the primary web folder for a site I worked on. When working on this project, I couldn't remove the old files and I couldn't install the new (Wordpress) information into the same directory, or so I thought.

    As a stop-gap, I created redirects from the old root directory that takes customers to the new location.

    I'm hoping someone knows how to fix this. I'd hate to have to reinstall WP and redo the content.

    Lehigh Valley, PA

  2. #2
    Join Date
    Jul 2009
    What webserver and OS are you using?
    Are you using any kind of "management" software like webmin etc..?

    or will you be making these changing via the command line / os directly?

    if its apache,
    Have a look in the httpd.conf file . There should ( near the top ) a line for the default www directory.
    ( in linux, it normally points to /var/www/html )
    Live Chat Support Software for your Business website -

  3. #3
    Yes, let's know the environment you're working with such as if you use hosting control panel or work on server directly etc.

  4. Usually, simply editing the DocumentRoot value of your httpd.conf file will do (as long as you are using Apache to host your content). The downside to this is that if you are using any control panel (cPanel, Plesk), chances are this file will be overwritten once you make any modifications inside the control panel so you'll be losing your changes. We can provide precise instructions however we need to know the exact control panel as well as the Web server being used. Cheers!
    SlickWebHost::Quality Personal and Business Hosting Solutions
    USA and UK, CloudLinux, LiteSpeed, R1Soft Shared Hosting
    USA andUK Virtual Private Servers with Best Connectivity to Europe, North America and Asia
    SlickWebHost::Non-outsourced 24/7 Support

Similar Threads

  1. ftp default directory
    By mserver in forum Hosting Security and Technology
    Replies: 1
    Last Post: 01-24-2006, 04:50 AM
  2. Raq2 Default Directory
    By the_mog in forum Dedicated Server
    Replies: 3
    Last Post: 06-24-2005, 03:05 PM
  3. ftp default directory
    By AlaskanWolf in forum Dedicated Server
    Replies: 2
    Last Post: 07-01-2002, 06:52 PM
  4. Default Directory
    By inoverse in forum Dedicated Server
    Replies: 4
    Last Post: 11-05-2001, 10:54 AM
  5. NeoMail default directory
    By webbcite in forum Dedicated Server
    Replies: 1
    Last Post: 10-01-2001, 05:25 PM

Posting Permissions

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