Setting the document root in godaddy virtual serverrewriterules +httpd.conf +.htaccess problem (urgent-site...

Can I pump my MTB tire to max (55 psi / 380 kPa) without the tube inside bursting?

Database Backup for data and log files

How to secure an aircraft at a transient parking space?

Accountant/ lawyer will not return my call

Why was Goose renamed from Chewie for the Captain Marvel film?

Are babies of evil humanoid species inherently evil?

Hotkey (or other quick way) to insert a keyframe for only one component of a vector-valued property?

Conservation of Mass and Energy

Does "Until when" sound natural for native speakers?

In the quantum hamiltonian, why does kinetic energy turn into an operator while potential doesn't?

Counting all the hearts

Definition of Statistic

Should I tell my boss the work he did was worthless

Difference on montgomery curve equation between EFD and RFC7748

Why does liquid water form when we exhale on a mirror?

Why would one plane in this picture not have gear down yet?

Is "history" a male-biased word ("his+story")?

When a wind turbine does not produce enough electricity how does the power company compensate for the loss?

weren't playing vs didn't play

Reversed Sudoku

How is the wildcard * interpreted as a command?

Single word request: Harming the benefactor

How to fix the Unknown Command error caused by starting CmdInit.cmd using TCC/LE?

How can The Temple of Elementary Evil reliably protect itself against kinetic bombardment?



Setting the document root in godaddy virtual server


rewriterules +httpd.conf +.htaccess problem (urgent-site down)Finding out what user Apache is running as?How to change Document Root for Apache2 in Mac OS XShared Document Root on Clustered Apache SetupAccess file outside document root.htaccess isn't workingConfigure a webdav directory outside apache2 document root?set document root for external callsRegarding .htaccessRedirect document root within VirtualHost













0















HI,
I am not familiar with setting up servers. I want to set up the document root to point to another directory. This is not mod rewrite for URL's that I am trying to do.



Is it a httpd.conf file or a .htaccess that I need to create? and what is the code to do it??










share|improve this question














bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






migrated from stackoverflow.com Dec 8 '10 at 1:19


This question came from our site for professional and enthusiast programmers.























    0















    HI,
    I am not familiar with setting up servers. I want to set up the document root to point to another directory. This is not mod rewrite for URL's that I am trying to do.



    Is it a httpd.conf file or a .htaccess that I need to create? and what is the code to do it??










    share|improve this question














    bumped to the homepage by Community 15 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






    migrated from stackoverflow.com Dec 8 '10 at 1:19


    This question came from our site for professional and enthusiast programmers.





















      0












      0








      0








      HI,
      I am not familiar with setting up servers. I want to set up the document root to point to another directory. This is not mod rewrite for URL's that I am trying to do.



      Is it a httpd.conf file or a .htaccess that I need to create? and what is the code to do it??










      share|improve this question














      HI,
      I am not familiar with setting up servers. I want to set up the document root to point to another directory. This is not mod rewrite for URL's that I am trying to do.



      Is it a httpd.conf file or a .htaccess that I need to create? and what is the code to do it??







      apache-2.2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 6 '10 at 0:11







      user505988












      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 15 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






      migrated from stackoverflow.com Dec 8 '10 at 1:19


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Dec 8 '10 at 1:19


      This question came from our site for professional and enthusiast programmers.
























          1 Answer
          1






          active

          oldest

          votes


















          0
















          1. In apacheconfhttpd.conf file, find and change the DocumentRoot property, such as:



            DocumentRoot "C:/apache/htdocs"



          2. Restart your apache server.







          share|improve this answer
























          • The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

            – Anonymous
            Dec 7 '10 at 21:59











          • No, I think it should be /home/myusername/public_html/

            – LAS_VEGAS
            Dec 7 '10 at 22:55











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f210232%2fsetting-the-document-root-in-godaddy-virtual-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown
























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0
















          1. In apacheconfhttpd.conf file, find and change the DocumentRoot property, such as:



            DocumentRoot "C:/apache/htdocs"



          2. Restart your apache server.







          share|improve this answer
























          • The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

            – Anonymous
            Dec 7 '10 at 21:59











          • No, I think it should be /home/myusername/public_html/

            – LAS_VEGAS
            Dec 7 '10 at 22:55
















          0
















          1. In apacheconfhttpd.conf file, find and change the DocumentRoot property, such as:



            DocumentRoot "C:/apache/htdocs"



          2. Restart your apache server.







          share|improve this answer
























          • The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

            – Anonymous
            Dec 7 '10 at 21:59











          • No, I think it should be /home/myusername/public_html/

            – LAS_VEGAS
            Dec 7 '10 at 22:55














          0












          0








          0









          1. In apacheconfhttpd.conf file, find and change the DocumentRoot property, such as:



            DocumentRoot "C:/apache/htdocs"



          2. Restart your apache server.







          share|improve this answer















          1. In apacheconfhttpd.conf file, find and change the DocumentRoot property, such as:



            DocumentRoot "C:/apache/htdocs"



          2. Restart your apache server.








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 6 '10 at 0:17









          CanerCaner

          1693




          1693













          • The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

            – Anonymous
            Dec 7 '10 at 21:59











          • No, I think it should be /home/myusername/public_html/

            – LAS_VEGAS
            Dec 7 '10 at 22:55



















          • The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

            – Anonymous
            Dec 7 '10 at 21:59











          • No, I think it should be /home/myusername/public_html/

            – LAS_VEGAS
            Dec 7 '10 at 22:55

















          The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

          – Anonymous
          Dec 7 '10 at 21:59





          The document root says <Directory "/var/www/html"> In the godaddy control panel it says that the document root that I want to change to should be:/home/myusername/public_html. Do I change it to: /var/www/html/home/myusername/public_html

          – Anonymous
          Dec 7 '10 at 21:59













          No, I think it should be /home/myusername/public_html/

          – LAS_VEGAS
          Dec 7 '10 at 22:55





          No, I think it should be /home/myusername/public_html/

          – LAS_VEGAS
          Dec 7 '10 at 22:55


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f210232%2fsetting-the-document-root-in-godaddy-virtual-server%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...