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


ADVERTISEMENT

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

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 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

Are Chained Root Ssl Certificates More Secure Than Single Root?

Nov 25, 2008

I have read that although chained root ssl certificates can be more difficult to install they are actually more secure since the root certificate cannot be compromised, only the intermediary.

Is this true? It looks like both google and amazon both use chained SGC certs.

View 0 Replies View Related

How Do I Change The Default Document Please? I.e. To Not Be Index

Feb 28, 2007

to change the default document on my Web server from index to news.php, is there a simple process for this please?

My server is Linux based and my control panel is cPanelX. I've had a look around the control panel but couldn't find anything to help me.

View 4 Replies View Related

Secure Document Storing And Sharing

Jun 26, 2007

I have a client who specializes in providing training for high-end CAD/CAM applications. They have training modules (currently in .ppt format mostly) that they want to store securely on the server and give out access only to approved customers. Additionally, they want to ensure that these training modules never fall into the hands of their competitors- that is, no downloads.

Does anyone have experience with this kind of thing? Based on their requirements, a few possible solutions come to mind:

1.) Put the training modules in a subdomain that is password protected. Additionally, encrypt the traffic with SSL etc. However, this doesn't solve the problem of users being able to download the files and do what they want with them. Also, it isn't possible to view .ppt files online in a browser, as far as I know.

2.) Use a solution similar to what Lynda.com has. They have an entire online library of training videos that are available 24x7, but customers can only view it, not download it. I think they use some solutions from Adobe to make this possible.

View 10 Replies View Related

Apache :: Why All Virtual Hosts Route Back To Same Document

Oct 7, 2014

I am trying to configure Apache 2.2 on Linux Mint 17 ( derived from Ubuntu 14 LTS).

I am wanting to create a variety of localhost sites all for development. One of those is built on Laravel 4. I have followed every tutorial I can find yet, for some reason which I do not understand ALL my sites route back to the Laravel root document when called from the browser. Just don't get it.

Here is my hosts file:

Code:

127.0.0.1 localhost
127.0.1.1 vince-XPS-8300
127.0.0.1 auburntree
127.0.0.1 example

Here is the Laravel conf file:

Code:

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin mail@shaw.ca
ServerName auburntree
DocumentRoot /var/www/auburntree/public

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Here is the alternative "example" conf file with just "hello world" in it.

Code:

NameVirtualHost *:80

<VirtualHost *:80>
ServerAdmin mail@shaw.ca
ServerName example
DocumentRoot /var/www/example/test.html

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Both conf files have been enabled.

View 3 Replies View Related

Apache :: Emulate Error Document Using Rewrite / Rewritecond / Redirect

Jun 23, 2015

OS - 2.6.18-274.7.1.el5
Apache - 2.2.29

Is there anyway to emulate the functionality of the ErrorDocument using rewrite rules, redirects, rewrite conds or other methods.

I'm trying to create a 404 page that can use dynamic variables (not allowed in ErrorDocument), that serves a custom 404 page and also logs a 404 in the HTTP status code in the logs.

I can achieve one or the other but not both as the ErrorDocument does.

View 3 Replies View Related

Somebody Is Pointing Their Domain To My IP

Nov 5, 2009

i purchased a VDS and a domain name from godaddy 2 weeks ago. I pointed my domain name to my server and i guess work just fine. but when i googled my domain name i found a damain which is pointing to my website. how can a stop this domain from pointing to my IP?

View 11 Replies View Related

What To Do About Another Domain Pointing Toward Your IP

Jun 27, 2008

We recently moved one server to a colo provider and were issued new IP's. One IP is causing us trouble.

We have been getting blocked from sending email to AOL and other free email companies.

When we contacted AOL we were told that they had received complaints about our IP and it was blocked.

Upon doing a RBL check and IP check, it seems that the former owner of our IP is still pointing his domain via eNom to our IP and had at one time sent spam.

If you reverse DNS our IP's.

bad domain -> our IP
our domain -> our IP

We contacted the eNom legal department (bad domain's registrar) about the problem.

They responded that they could not do anything about it, only the registrant could.

The spammy domain registrant obviously does not respond to our contacts.

What is the best course of action?

View 7 Replies View Related

Domain Pointing

Jun 24, 2008

i have dns problem as i think idont know how to solve it or how did it happen iam using this site from more than 8 month i registered it in godaddy as my main domain name register and iam hostingit on my ressler account with many other domains but last night i found that the domain is pointing to my server but it show godaddy parking page i cheeke the name serv its pointing to me i do this repport in dns test i found it is also pointing to go daddy how can that happen and how can i solve it to show my web site again:

View 5 Replies View Related

Domain Pointing ...

May 7, 2008

(Background) Looking for some advise on domain pointing currently I have a UK server hosting my billing system which is replicated each evening over to my US server

I want to sub domain my primary domain to uk.yourdomain.com & us.yourdomain.com

As redundancy I would also like uk.yourdomain.com to point to the US server should the UK one fail - giving me redundancy, I figure in the next few months I can do this on our AU - creating au.yourdomain.com and replicating our billing system to that datacenter too.

(question) - can this been setup and configured from server level, ie on my primary server WHM dns zones OR should this be created on a registrar level?

View 1 Replies View Related

Plesk 12.x / Linux :: Checking Stats - Requested Document Was Not Found On Server

Aug 19, 2014

When i try to check my stats, i got this error : Not Found

The requested document was not found on this server.

URL : domaine.nld/plesk-stat/webstat/

I tried a lot of commands, to repair too..

# /usr/local/psa/admin/sbin/statistics --calculate-all

WARNING during statistics_collector execution: : Executing logs preparation...

But nothing... Always the same error.

View 1 Replies View Related

Domain Name Server DNS Pointing

Feb 10, 2007

Hello all, hope someone can help.

I have a domain incl. hosting (fanferwalde.com) and three extra domain names, fanferwalde.nl , fanfalingasate.com , fanfalingasate.nl (all three without hosting) who I want to point to fanferwalde.com.

Before I bought the extra domains I asked the provider if I could point the extra domains to the �head� domain (fanferwalde.com).
Yes, that was possible they said so I bought the extra domains.
I asked the provider to help with the configuration to point them to the head domain but they refused, I must do it by myself��������..
There is no possibility they do it when I pay extra for it so I feel pressed to take also a hosting for the extra domains; then I can make a redirect on each index page.

All domain names have an own DNS control panel. I have full access to this.

The first picture is the DNS from the head domain.

The second picture is the DNS from one of the extra domains I want to point to the head domain.


What must I put where so the website from fanferwalde.com will appear when I write fanferwalde.nl in the browser?
THANKS in advance!!!

(Sorry for my bad English, I�m Dutch)

View 12 Replies View Related

Pointing Subdomain To Different Server With IIS - How

Jul 3, 2008

I have a server running IIS that I have a primary website hosted on, let's call it...foo.com

So foo.com is hosted and setup through IIS, resolving fine. Now, I have created a site on a different server (not on the same network) to run a subdomain called 'local.foo.com'. How do I get IIS to point all traffic for local.foo.com to the IP of the server hosting the subdomain?

I tried adding a hostname to the primary domain in IIS through "Properties" > "Web Site" > "Advanced" but I am stilling getting the Invalid Request Bad Host Name error.

View 2 Replies View Related

Someone Else's Domain Name Is Pointing To Mine

Feb 28, 2008

I'm designing a site, www.streetsmartscooters.com, to (obviously) sell scooters. Just yesterday I saw on my Google Analytics that people were getting to my site by searching for X-treme X-10, a particular brand and model of scooter.

I typed the keywords into Google to see what my rankings were, and I was on the fourth page. But the green URL in the search listing showed up as mamafocka.com.

When you go to mamafocka.com, it's all the same information as my website, and changes I make through my FTP login update immediately. If you go to streetsmartscooters.com, you can click on the "Electric Scooters" link on the left nav and it will keep you on mamafocka, but give you the exact same page as on streetsmartscooters (I set that particular link to be relative in the includes file).

My site is hosted on a Windows 2003 virtual server from GoDaddy. SelfSeo.com says that mamafocka.com and streetsmartscooters.com both have the same IP - 208.109.99.16. I just signed up for a dedicated IP address tonight from GoDaddy, but I'm not sure how long it takes to propagate.

Will getting a dedicated IP fix this problem, or have I wasted 6 bux? Is there any way to block that domain name from pointing to my site? It doesn't look to my novice eyes like this is a redirect.

Also, I installed FreeFind on the site earlier this week, I believe. Could somebody have messed with something through that?

View 4 Replies View Related

Subdomains Pointing To Different Servers

Jul 13, 2007

I have a high-traffic domain & I want to create subdomains of this domain and point these subdomains to different servers. Each subdomain will have different content.

For eg. music.domain.com will have music relatd content, videos.domain.com will have videos etc. The purpose of this is to spread the traffic and hence reduce load on each server.

How do I create such subdomains? Creating subdomain from cpanel points to the same server. If i create subdomain from domain registrar it just points / redirects as 301 redirect to a URL I give.

View 4 Replies View Related

Pointing Domain To A Directory

Jul 25, 2007

I cannot seem to get it to work in Cpanel.

How can I point websiteA.com to websiteB.com/directory/.

I tried to park the domain name on websiteB.com and set the redirect to websiteB.com/directory/ yet it still points to only websiteB.com

View 2 Replies View Related

Mail Pointing To Google Apps

Jan 8, 2008

I have setup the DNS records for my domain, just need it confirming by someone.

Domain is registered using godaddy, so using their default nameservers and modified the records:

A Records:

Host Points To TTL
@ http_Serverip 1 Hour

ftp ftp_Serverip 1 Hour

www http_Serverip 1 Hour

* http_Serverip 1 Hour

cnames:

Host Points To TTL

www @ 1 hour

MX records:

Priority Host Goes To TTL
10 @ aspmx.l.google.com. 1 Week

20 @ alt1.aspmx.l.google.com. 1 Week

30 @ alt2.aspmx.l.google.com. 1 Week

40 @ aspmx2.googlemail.com. 1 Week

50 @ aspmx3.googlemail.com. 1 Week

Hope you can work out the above tables, I have website pointing to a server and mail pointing to google apps.

View 2 Replies View Related







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