Where Domain Document Root Settings Are In CPanel?

Feb 11, 2008

I've done some manual change of document root in httpd.conf for a user. I know that now, I don't need to to manual change since user can set there own folder!

Now, If I rebuild Apache, he will re-do all the configuration to the original one. Where can I find the settings for domain document root so I can change it and EasyApache will rebuild the httpd.conf correctly?

I don't want to remove the domain since I'll lost all email account!

View 8 Replies


ADVERTISEMENT

My Sites Are Not Pointing To The Right Document Root

May 21, 2009

I installed a centos4.7 with ISPCONFIG2 control panel, but any account I create it points to the documentroot of apache.

I am running my server behind a router.

On the /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf the document roots are :
Document Root /var/www/web11/web for xxx1.com
Document Root /var/www/web10/web for xxx2.net

but when i type ant site, it goes to : Document Root /var/www/

View 3 Replies View Related

Document Root And File Permission

Jul 21, 2008

I am running a LAMP server, working to get everything configured and as secure as I can make it. I have been trying to decide weather to change the document root to a different directory, or if it would be better/worse or more/less secure to chown and chmod the current directory.

Any input would be helpful, I just don't want to overlook some small detail as this is my first time handling a server on my own.

View 2 Replies View Related

Document Root Default In Plesk

Dec 18, 2008

Document root default in Plesk

I bought a new plesk and created new domains. For some odd reason, all the domains are looking at the default document root.

/var/www/vhosts/default/htdocs/
Rather than going to the domains document root
/var/www/vhosts/domain.com/conf

I checked the /var/www/vhosts/domain.com/conf/httpd.include, the document root and all are fine.

I also tried creating vhost.conf and assigning the document root there.
/usr/local/psa/admin/sbin/websrvmng --reconfigure-vhost --vhost-name=domain.com -v

It is also not working...

View 9 Replies View Related

Apache Document Root On Linux

Sep 5, 2007

Basic question: does it matter where I set the document root for apache on a Linux system? I've googled this but haven't found a good answer.

This is for a VPS server running the Ubuntu (Debian) server os that I'm configuring. I'd prefer to simply create a new directory off the root and set that as the document root in the apache config file. Would this present any kind of security issue?

If that's no good, what's the best choice -- stick to the default?

View 3 Replies View Related

Apache :: Cannot Change Document Root

Oct 26, 2013

I just made a fresh install of the following :

Apache 2.4 (x64)
PHP 5.5.5 Thread Safe (x64)
OS: Windows 8.1 (x64)

And I think everything is working. When openingen 127.0.0.1 I see the apache message that the server is running and when executing phpinfo() it displays the PHP info.

My problem is that I'm trying to change the document root.

I have change the following in the httpd.conf:

DocumentRoot "C:/Apache24/htdocs"
<Directory "C:/Apache24/htdocs">

The lines abowe have been change to:

DocumentRoot "D:/www"
<Directory "D:/www">

After this I did a reboot of the apache server using the CMD httpd -k restart. I even tried restarting using the apachemonitor and rebooted the whole server. But apache still loads the files from c:/Apache24/htdocs

I can't find any more entries with htdocs to change. What am I missing?

View 2 Replies View Related

Apache :: Document Root Must Be Directory

Jun 2, 2014

In httpd.conf I have

DocumentRoot "C:/Programme/Apache_Group/Tomcat-8.0.5/webapps/ROOT/"

2.4.9 is complaining about this having to be a directory. It is definiteley. I can browse it with explorer.

When I change this to "C:/Program Files/..." it works.

Why is that? In the stock Win32 server I downloaded from the apache site I did not have to make this change.

View 4 Replies View Related

Document Root Change (e.g. /home/newfilehere/

Aug 2, 2008

On my VPS I currently have:

/home/admin/public_html/ as my website root.

However, I plan on running multiple website (not linked whatsoever) on the server. I have LXAdmin and HyperVM. Is it possible to get additional files, such as:

/home/site2/public_html/

then etc..

/home/site3/public_html/

Is this possible? Because, would each need its own IP for the DNS?

View 4 Replies View Related

Plesk 12.x / Linux :: Default Document Root

Sep 5, 2014

I think it is possible, but just to be sure...

Default document root is:

var/www/vhosts/www.mysite.com/httpdocs/

Can I change it to:

var/www/vhosts/www.mysite.com/web/

A simple "yes" or "no" will do...

View 3 Replies View Related

Plesk 12.x / Linux :: Nginx Does Not Recognize Changes (Document Root)

Nov 12, 2014

There is a bug in the current Plesk version 12, which was encountered on many of our Plesk 12 server until now. I do have Plesk 12.0.18 Update #23 with CentOS 6.

When a customer changes for example the document root of a domain nginx does not recognize it and the administrator of the server do have to restart nginx manually.

This issue is serious because CSS, JS and images are not working on such a page where a customer changed the document root. Nginx is throwing 404 error until nginx is restarted manually.

Other customers do have the same issue: [URL] .....

View 2 Replies View Related

Plesk 12.x / Linux :: Place File Into Document Root Directory?

Jul 11, 2014

I need to place a file in the root of my server. How should I do?

I tried:
SSH connection
wget ......
but the file is not in the right place

Where should I place it?

View 2 Replies View Related

Plesk 12.x / Linux :: How To Change Document Root With Web Applications Installed

Feb 8, 2015

i am relatively new to Plesk, i ordered a vserver with Plesk a couple of months ago and spend a lot of time setting everything up and developing several new websites. I am used to developping new websites on a hidden adress (sth like domain.com/dev/ instead of the top level) and then switch the document root to point to the hidden directory when all is done. This practice has served me and my clients well for the last 10 years.

Using the Plesk features like built-in applications seemed like a good idea at the time but wanting to switch the new websites live i have now found out that Plesk won't let me do this since..It is impossible to change document root because there are web applications installed on this website.

I had read somewhere on the interweb that the v12 would let me do this so i just spent the better part of today updating to v12 .. but alas no luck, the limitation is still there. Is there a way to remove this limitation ?

View 1 Replies View Related

Domain Name And NameServer Settings

Oct 9, 2007

I updated my account from shared to my first VPS account with GoDaddy and they assigned me a I.P.

Now,I choose the options to use GoDaddy NameServers,and i changed the entry there so that my domain name points to my I.P,like this:

Host: @
Point to: <I.P assigned to my domain>

Now,if i type my domain name in the browser,it shows my website but if i click on any link, my I.P address is being shown on the browser instead of my I.P.This is happening for all the links.

what nameservers settings i need to so that this does not happens.

View 6 Replies View Related

Edited DNS Settings Now Domain Not Reachable

Feb 21, 2007

I've got an odd issue here. I have a client who insists on hosting his website with register.com because he knows how to use their editing interface. But, for our purposes, he needed a store set up on my server. So I logged into his register.com account and created an A record for his domain, store.got-harmonica.com and pointed it to my server. I didn't modify the existing records in any way. Now, however, got-harmonica.com (the main site) isn't loading..it just sits and waits and waits. store.got-harmonica.com loads beautifully on my server. Is register.com's webhosting down right now or is it something I've done?

View 6 Replies View Related

Plesk 12.x / Linux :: PHP Settings Under Domain?

Jul 14, 2015

I am trying to change the default php settings under domain (upload_max_filesize & post_max_size) but nothing happens. I am running PHP 5.5 in FastCGI. I also changed it to Centos default PHP (5.4.16) but nothing happens again. It only works when PHP runs as Apache module. The problem is on FastCGI Application.

My server: Centos 7, Plesk 12 Check the screenshot for installed components.

View 18 Replies View Related

Root Domain

May 20, 2009

I have a server that I have a few domains on, and I have a question about the root domain. I initially picked any old domain, so now all of my name servers are pointing to this one random domain. I have since purchased a few more premium domains, and am wondering if I should change the nameservers to be the more premium domains? Does this matter? Should I have my "main site" be the root domain? Just trying to understand what the implications could be for me.

View 3 Replies View Related

Plesk 12.x / Linux :: Send From Domain IP Addresses Settings Not Viewable?

Jan 14, 2015

I am using latest version of PP12 and do not have the "Send from domain IP addresses." seeing showing in the Mail Settings page.

There is nothing shown between "Enable message submission" and the "Relay Options".

Yes, I am using Postfix.

What am I missing?

View 7 Replies View Related

Googlebot Root Domain

Aug 2, 2008

I am just wondering whether my idea will work for the google search engine.

Basically, I have my official VPS root (home/admin/public_html/) and this is where my main website will be hosted. However, since my VPS will be used for additional website, I will direct additional domains to it.

My second site hosted on this VPS may have a document root of (home/admin/public_html/advertising/). And my domain will then be setup to have that as its document root.

However, when google searches for my second site (e.g. advertising.com) will it go 'below' the domain root? For example, will it also creep the files under /public_html/ for this domain, even though the domains root is /public_html/advertising/?

edit: Or do people host multiple sites differently? Is this an appropriate method?

View 4 Replies View Related

Plesk 12.x / Linux :: Migrate Tool Doesn't Sync Per-domain PHP Settings

Dec 1, 2014

I'm using the migrate tool to clone our production server to a backup server.

I'm using the following command

Code:
cd /opt/psa/bin/
./migrate --migrate-server -host x.x.x.x -password mypwd

I've noticed that the per-domain PHP settings (like open_basedir and include_path) are not transmit to the backup server. Is that the expected behavior ? I would have prefer the migrate tool to include all settings....

View 1 Replies View Related

Domain Root And Subdomain Structure

Jun 22, 2008

I am a bit confused about domain and sub-domain setup for my website.

I have Wordpress and VBulletin Forum on my website like this:

/www/mywebsite/wordpress
/www/mywebsite/vbulletin

Right now, my domain points to this folder:
[url]

I have a .htaccess file there which redirects it to the wordpress folder i.e.
Redirect permanent /index.php http://www.mywebsite.com/wordpress
DirectoryIndex index.php

But, I would like my domain name point directly to the wordpress folder like this:
[url]

But the problem when i do that is my "VBulletin" forum get's messed up because then:
[url]----------resolves to--------->
[url]

I m thinking to resolve this issues, I will have to add a subdomain for forums like this:
[url]-> [url]

But I am wondering if I do that, won't it fail again, because it will do this:
[url]-----will resolve to----->
[url]

View 5 Replies View Related

Plesk 11.x / Windows :: Changing Plan For A Domain / Does Not Update Website Hosting Settings

Jul 3, 2014

OSMicrosoft Windows Server 2008 R2 Service Pack 1
Panel version11.5.30 Update #47

We have a few hosting plans setup with different "allowances" for each.The website permissions allow basic html and PHP.In Windows Advanced: The website settings allow for html, php, asp and asp.net

When we change a Basic Hosting plan to Windows Advanced using "Change Plan", it will reassign the subscription/domain to use the new plan, but it will not add-on the extra features in Hosting Settings.

View 1 Replies View Related

Apache :: Redirect To Domain Root When Not Logged In

Sep 12, 2013

I would like to do do following using basic authentication:

1. non authenticated users have access to the index page: [URL] .....
2. there are other pages, e.g: [URL] .... but these would require basic auth
3. if users are not authenticated they would be redirected to [URL] .... otherwise authenticated users would have access to [URL] .... or anything else under that domain

View 1 Replies View Related

Plesk 11.x / Linux :: Accessing Mail Settings On Domain - Unable To Find Service Node For IP Address

Jun 30, 2014

When trying to access the settings for mail on a domain I get the following error:

Error: Unable to find service node for ip address with id=6

I understand this is a problem with the database but I am not sure where to look to fix it.

I only have 4 IP addresses on the system.

View 2 Replies View Related

Plesk Automation :: DNS Record - Unable To Set Cname For Root Of Domain

Feb 28, 2015

I have a domain hosted in a external pool of servers.I must set a dns record for www.domain.tld and domain.tld (without www). It must be done using cname.The www.domain.tld , works fine.

Ex:www.domain.tld IN CNAME xyz.otherdomain.tld.

But I am not able to set a DNS record for a root of domain.

Ex: domain.tld IN CNAME xyz.otherdomain.tld.
neither domain.tld IN CNAME www.domain.tld.

The PPA didn't allow me.It say that the host field is mandatory.

View 1 Replies View Related

Plesk 12.x / Linux :: Adding Subdomain To Forwarding Root Domain

Apr 23, 2015

I want to add a subdomain foo.bar.com to a master domain bar.com in the subscription bar.com. Normally this works but if I set the hosting type of the master domain to forward, I cannot add subdomains anymore. If I have already added a subdomain, I cannot change the hosting type of the master domain. Also it is not possible to add a second domain to the subscription anymore.

View 6 Replies View Related

Plesk 11.x / Windows :: Slow Domain Creation On Same Web Space And Doc Root - Authentication Error

Jun 26, 2014

We have more than 10 domains on the same webspace, sharing the same document root. When we try to add a new domain on the same web space (sharing the same document root) Plesk takes a long time to create it (about 10 minutes). While domain creation, all the other domains sharing the same document root and web space get an authentication error. When Plesk finishes, all domains work again.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved