Apache :: 2.2.25 - Subdomain Configuration In Windows 7

May 4, 2014

In my computer (Windows 7 Ultimate) I host my sites with Apache 2.2.25 - mod_fcgid-2.3.6-win32-x86 and PHP 5.4.28. In "httpd-vhosts.conf" file from Apache I have my domain set as follows and work fine (http://www.example.com or http://example.com):

Code:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot "D:/Apache22/vhosts/Example"
ServerName example.com
ServerAlias www.example.com *.example.com

[Code] ....

And I set up a subdomain as follows:

Code:
<VirtualHost *:80>
ServerAdmin director@example.com
DocumentRoot "D:/Apache22/vhosts/DirectorExample"
ServerName director.example.com
ServerAlias www.director.example.com *.director.example.com

[Code] .....

But when I tried to access the page: http://www.director.example.com or http://director.example.com, I was redirected to the page http://www.example.com.

I have DNS configured for "example.com" and "director.example.com". This sites is live in another server.

Error.log files for "director.example.com" and Apache is empty. How can I configure the subdomain to work?

View 2 Replies


ADVERTISEMENT

Lighttpd And Apache Configuration For A Subdomain

Jul 2, 2008

I was recently inroduced to lighttpd being able to run on apache with a different port. So I setup my lighttpd that way.

lighttpd.conf

Code:
server.modules = (
"mod_access",
"mod_fastcgi",
"mod_cgi",
"mod_accesslog" )

server.document-root = "/var/www/vhosts/domain.com/httpdocs/lighttpd/"

server.errorlog = "/var/log/lighttpd/error.log"

index-file.names = ( "index.php", "index.html",
"index.htm", "default.htm" )
and my httpd.conf

Code:
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /lighttpd http://0.0.0.0:81/
ProxyPassReverse / http://0.0.0.0:81/
Now when I created a folder on my server's httpdocs /lighttpd/

everything runs smooth so I got the lighty to work for me.

Okay now that i figure it works I wanted to run one of my subdomain on lighty so that I can reduce the load on the server. Does anyone know how I can setup one of my subdomain to open with lighttpd and keep everything else on apache?

View 1 Replies View Related

Great Success, Apache Is Working After Subdomain DNS Configuration

Jun 26, 2008

So here's my situation: I have a rented vent server, that I wanted to point vent.mydomain.com to the IP of said vent server. I put an A record in the dns pointing to the server and all is well. When I type vent.mydomain.com into a browser it take me to the cPanel/WHM page saying "Great Success, Apache is working". Is it possible that I can somehow have that get redirected to the main site or no?

Basically if Im connecting with the vent client, I want it forwarded to the vents IP, otherwise I want to have it redirected to mydomain.com.

View 8 Replies View Related

Apache :: Redirection Page From Subdomain To New Subdomain

May 11, 2015

Wordpress installation (WPML with 3rd level domain es. site. com, fr. site. com).

I need to redirect page from subdomain to a new subdomain

Example:
esp.site.com/oldpage -> es.site.com/newpage (different subdomain)
esp.site.com/oldpage1 -> es.site.com/newpage
esp.site.com/oldpage2 -> es.site.com/newpage

Source site is very chaotic and there are no clear rule for redirection (no regex )

So I need to redirect every page but syntax:

Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage

doesn't work!

which is the correct syntax ?

Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ? 

View 1 Replies View Related

VPN Configuration On Windows Server

May 8, 2009

I have a dedicated windows server 2003.

I installed VPN on this server and everything seems to be ok and I can connect to my VPN server but I don't have Internet when I connect to my server.

How can I share internet in my VPN server?

I want to use this VPN for my self and for secure browsing on internet.

View 8 Replies View Related

MySQL Configuration On Windows Vps

Jul 20, 2007

mysql configuration..

I'm on a windows vps with 640mb of ram and I'm always at high level of usage of ram and 100% of cpu.. obviously the website slows down and it takes about 15 seconds to show up!

I've tried to put some indexes to my db but I'm not really expert in that.
I've been also told that my problem could be caused by a wrong mysql configuration, so here it is mine:

Code:
# The MySQL server
[mysqld]
; Uncomment for use on USB key
; skip-innodb
datadir=${path}/mysql/data
basedir=${path}/mysql
bind-address=127.0.0.1
port = 3306
socket = /tmp/mysql.sock
skip-locking
key_buffer = 200M
max_allowed_packet = 1M
table_cache = 200
sort_buffer_size = 1M
read_buffer_size = 1M
read_rnd_buffer_size = 3M
myisam_sort_buffer_size = 64M
thread_cache_size = 8
query_cache_size= 16M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 2

# Replication Master Server (default)
# binary logging is required for replication
log-bin=mysql-bin

# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id = 1

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
key_buffer = 100M
sort_buffer_size = 100M
read_buffer = 2M
write_buffer = 2M

[myisamchk]
key_buffer = 100M
sort_buffer_size = 100M
read_buffer = 2M
write_buffer = 2M

[mysqlhotcopy]
interactive-timeout

View 1 Replies View Related

Plesk 12.x / Windows :: DNS And SOA Records Configuration?

Mar 8, 2015

I have installed Parallels Plesk 12.0.18 installed on my Windows Server. I have found issues with my DNS and SOA records having issues it says I have not configured my DNS and SOA records when I do a DNS diagnosis.

setup my configure the records for me correctly so that my domains issues could be solved. You can see a link below to know the errors I have for my domain name. I have hosted multiple domain names on the same server with Plesk.

[URL]

View 1 Replies View Related

Plesk 11.x / Windows :: How To Change Subdomain To Sub Directory

Feb 25, 2015

I use plesk 11, I was creat sub directory: domain.com/test. but I access via test.domain.com is ok, but domain.com/test is error " page not found" how to I access via domain.com/test ?

View 2 Replies View Related

Plesk 11.x / Windows :: Subdomain Frame Forward

Oct 4, 2012

I have 2 domain names, lets say domain1.com and domain2.com.

domain1 is the main domain and it has a subdomain, lets say sub.domain1.com.

What i want to do is to forward domain2 to domain1 without loosing its name. I used frame forwarding at plesk panel. The domain2 is correctly forwarded to domain1 without loosing its name. The problem is that the sub.domain2.com displays the domain1.com and not the sub.domain1.com

Below are my dns settings at domain2.com:
xx.xx.xx.xx / 24 PTR domain2.com.
sub.domain2.com. A xx.xx.xx.xx
ftp.domain2.com. CNAME domain2.com.
ipv4.domain2.com. A xx.xx.xx.xx

[Code] .....

where xx.xx.xx.xx is my ip.

The funny thing is that webmail.domain2.com works fine.

View 1 Replies View Related

Plesk 11.x / Windows :: Script PHP For Creating Subdomain

Apr 24, 2014

I am trying to write a script PHP creating a subdomain on a server when executed (as well as doing other stuff, but that part work). But, when I send my request to the server, the script, while it does create the subdomain, doesn't display anything upon execution (I have put a few echo in the script to check the advancement, and nothing appears).

The error message : Echec du chargement de la page Aucune donnée reçue.

Here is my code :

/**
* Returns DOM object representing request for creation of new subdomain named after the parameter
* @return DOMDocument
*/
function createSubdomain($nom)
{
$xmldoc = new DomDocument('1.0', 'UTF-8');
$xmldoc->formatOutput = true;
$packet = $xmldoc->createElement('packet');

[Code] ....

The function curlInit and sendRequest are those used in the examples provided on this site, but I put them here just in case :

/**
* Prepares CURL to perform Plesk API request
* @return resource
*/
function curlInit($host, $login, $password)

[Code] ....

Why it doesn't send anything back ? When I modify the property line in the request, the script displays something, but it also fails at creating the subdomain (because the parameters are incorrect).

View 3 Replies View Related

Plesk 12.x / Windows :: Error Creating A Subdomain?

Jul 8, 2014

In the attached image, the following error details to create a new subdomain

View 3 Replies View Related

Plesk 11.x / Windows :: All Possible Subdomain Will Go To Main Site?

Apr 7, 2014

I need to make it so that all possible subdomains will go to my main site

How do I do that?

View 4 Replies View Related

Apache Virtual Configuration

Sep 12, 2006

Someone had mentioned a way to use virtual apache configs, this way you wouldn't have to reboot apache each time you add a new domain to your box.
Can you tell me what dso I need to use?

Also is there a conversion tool to grab the configs you have now, and migrate them to the external files?

View 4 Replies View Related

Apache Global Configuration

Oct 30, 2009

my server there it one site

but this site His alexa ranking of 7.000

i need Apache Global Configuration

StartServers = ?
and this
MinSpareServers = ?
and this
MaxSpareServers = ?
and this
MaxClients = ?
and this
MaxRequestsPerChild = ?

browsing heavily on the site, which lead to stoppage of the Apache

Server Information
Intel Core 2 Quad Q9550 2.83GHz
8GB Ram

View 4 Replies View Related

Apache Configuration Parameters

Nov 10, 2009

Is there any way to dump all of the current configuration parameters that apache is operating with?

I am clear on setting them in apache's config file. What I would like to do is view every parameter apache is operating with.

I am trying to troubleshoot what is believed to be an apache issue on one of my servers.

View 9 Replies View Related

Apache :: Configuration With SSL And Authentication

Dec 3, 2014

I have a couple of directories on my server that require authentication (MySQL DBD and AuthUserFile). Both work fine with SSL off. When I use SSL on directories without authentication that also works fine. However, when I put the 2 together, authentication is by-passed. I cannot seem to get the configuration right to do both. Here is my VH conf file (sanitized):

Code:

LoadModule dbd_module modules/mod_dbd.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
<VirtualHost *:80>
DocumentRoot "/var/www/html"
ServerName myhost.mydomain.com
ServerAdmin mailman-owner@mydomain.com
ErrorLog "/var/log/httpd/myhost_error_log"
CustomLog "/var/log/httpd/myhost_access_log" combined

[Code] .....

View 2 Replies View Related

Apache :: 2.4 Subdomain Setup Fails

Oct 7, 2012

I am struggling with this all the day, no answer i found here as well. how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain. Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).

View 2 Replies View Related

Apache :: Add Www To Domain Unless It Is A Subdomain Request

Nov 18, 2014

I would like to rewrite mysite.com to www.mysite.com.

However, if the request is a subdomain (i.e. blabla.mysite.com), then it should not rewrite.

I believe this gets me close, but it will not differentiate the subdomains (i.e., blabla.mysite.com).

View 5 Replies View Related

Apache :: Make Subdomain Appear As Directory?

Oct 10, 2013

I have an ecommerce store. dns at godaddy. A record www points to the 3dr party hosted shopping cart solution on ip a.a.a.a. I also have a blog. A record blog subdomain points to another server b on ip b.b.b.b hosted away from the shopping cart server a completely.

So www goes one place and blog goes to another.The problem is I need to somehow make the blog appear within the main site as URL...blog instead of as a subdomain blog.domain.com.

I cannot access or modify the hosted shopping cart server in any way. I cannot load wordpress there, that is why it is on a completely separate server.I've been told this is perhaps possible with a reverse proxy configuraton on server b where ip b.b.b.b is.So that even though blog. points to server b it can appear that the url is www.mydomain.com/blog and the blog pages off that directory as well.Can this be done via reverse proxy?

View 8 Replies View Related

Plesk 11.x / Windows :: Horde Localhost Configuration

Apr 2, 2014

In horde how we can configure that it will send email using the logged in user login to authenticate and send the email, currently it using localhost to send the emails.

View 1 Replies View Related

Multiple Subdomain Redirect To Windows 2003 Server

Sep 17, 2007

Is it possible to send subdomain2.subdomain1.domain.com to a Windows 2003 IIS server thats different than the one where domain.com is hosted on?

View 1 Replies View Related

Plesk 11.x / Windows :: Promote Subdomain To Full Domain?

Feb 19, 2013

I've got a plesk 11 server and I've created a subdomain for a client but I need to have this as a full domain for the SSL certificate. Is there a way to convert a subdomain to a full domain without deleting the subdomain and creating a new hosting subscription?

View 2 Replies View Related

Plesk 11.x / Windows :: Promote Subdomain To Full Domain

Sep 18, 2012

I have a client that has a subdomain shop.xxxx.com. This subdomain needs its own SSL and own IP address for it. Right now its listed as a subdomain under xxxx.com. Also, the xxxx.com has another SSL and IP.

Since there doesnt seem to be any way to do this in plesk, I had to create the subdomain as a regular subdomain and then manually manipulate IIS to change the IP and add the ssl mapping.

If I try to add a new domain, it automatically tags it with the WWW.

Is there any way to just create a new domain without the www infront of it, so I can move shop.xxxx.com from a subdomain to a primary domain that stands alone...

I haven't played around much with the new iis 7+, but in older iis, you needed a dedicated IP for each SSL certificate.

View 3 Replies View Related

Plesk 11.x / Windows :: Fatal Error In Creating Subdomain?

May 1, 2013

recently i created a domain subscription with 3 alias domains. Thanafter i created a sub domain to a folder in the main domain. At first all went fine but after deleting the alias domains subdomains ans domain supscrption to register all the 4 domains each seperately a problem accured and i cant add any subdomain to none of the 4 domains. registering the domains themselves as individual domain works for each one perfect. But as soon as i try to add a subdomain on any of that 4 domains i get an error that the dns data could not be updated. As it looks like there is still some codes in the plesk database that links to 4 domains in any kind together and prevents me to creste a subdomain.

How can i manually remove all the domains subdomains and alias domain garbage from the plesk database. I use windows version of plesk panel 11.0.9 on windows 2008 server datacenter edition. I have good skils in IT but im not familiar with mysql and plesk. how to remove the records from plesk Mysql database. Command line commands internal commands locations that have to be altered and all other needed steps.

View 1 Replies View Related

Apache Configuration Set Timeout Per Folder

Aug 18, 2007

I want to set the Timeout value bigger for a specific folder.

View 5 Replies View Related

Apache 1.3 Configuration Directives Found

Jul 10, 2007

After installing Zend with /scripts/installzendopt on a cPanel server I am getting the following:

Code:
root@comet [~]# apachectl start
/usr/sbin/apachectl: Apache 1.3 configuration directives found
/usr/sbin/apachectl: please read /usr/share/doc/httpd-2.0.52/migration.html
Virtualhosts look like this:

Code:
<VirtualHost [IP]>
ServerAlias [www.domain.com]
ServerAdmin webmaster@[domain.com]
DocumentRoot /home/fohrmann/public_html/[username]
ServerName [domain.com]

User [user]
Group [group]
BytesLog /usr/local/apache/domlogs/[logfile]
CustomLog /usr/local/apache/domlogs/[logfile] combined
ScriptAlias /cgi-bin/ /home/[username]/public_html/gb/cgi-bin/
</VirtualHost>

View 3 Replies View Related

20 Ways To Secure Your Apache Configuration

Dec 20, 2007

you can find a article to "20 ways to Secure your Apache Configuration" in this link:
[url]

I have a problem after change permissions :
chown -R root:root /usr/local/apache
chmod -R o-rwx /usr/local/apache

after run above commands when I trying to restart apache show me this error:
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

View 0 Replies View Related

Web BLAST Apache Configuration (Error 403)

Oct 8, 2013

I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7), but when I click on search it shows ERROR 403 when I open it within my site or the following message appears (blast.cgi content), when I use directly the blast.html page:

#!/bin/csh -f # # $Id: blast.cgi,v 1.1 2002/08/06 19:03:51 dondosha Exp $ # echo "Content-type: text/html" echo "" #setenv DEBUG_COMMAND_LINE TRUE setenv BLASTDB db ./blast.REAL

View 3 Replies View Related

Apache :: Web Blast Configuration ERROR 500

Oct 9, 2013

I'm trying to run Web Blast 2.2.28+ locally trough Easy PHP Dev Server 13.1 (Apache 2.2, Windows 7), but when I click on search it shows ERROR 500 couldn't create child process: 720002: blast.cgi

View 1 Replies View Related







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