Subdomains Trailing Slash
Feb 5, 2007
In cpanel > subdomains. I want to redirect topsites.mydomain.com to mydomain.com/topsites
I inputted mydomain.com/topsites for some odd reasons, it goes to mydomain.com
However, when I type mydomain.com/topsites/ (with a trailing slash) it goes to the its intended page. I remember I didn't have to add the trailing slash before.
View 6 Replies
ADVERTISEMENT
Oct 29, 2007
While browsing my site with a web browser, if I place a trailing slash at the end of the URL to browse directories, everything is fine, but if I forget the trailing slash, dashes and underscores are replaced with their encodings. For example, "site.com/name1-name2/" is fine, but "site.com/name1-name2" becomes "site.com/name1%2Dname2/". A quick Google search hasn't helped me solve this. The directory and an index file in the directory does exist on the server.
The server is running Windows Server 2003, IIS6, and Coldfusion 8.
It's probably some IIS configuration...
View 4 Replies
View Related
Jul 10, 2007
I'm having some issues with apache and trailing slash.
For some reason, this only happens on one of my sites.
Whenever I try to access the site [url]without the trailing slash, I get a 400 Bad Request error. While if I go to http://example.com/dir/ the page loads up perfectly.
Error logs show nothing.
Code:
2xx.1xx.x.x - - [10/Jul/2007:22:53:09 +0800] "GET /dir HTTP/1.1" 400 506 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"
View 7 Replies
View Related
Jan 4, 2007
I am running apache 2.0 on CentOS 4.4 with PHP5 and mysql 5. I am wondering why the following is happening with apache:
if I goto to [url]
This does not work, it times out. But if I goto:
[url]
With the trailing slash it works. That is annoying, anyway to take care of that so it works with or without the trailing slash? Below is my httpd.conf folder and virtual host settings:
---------------------------------------------------------------------------------------------------------------
<VirtualHost *>
ServerAdmin myemail@mydomain.com
DirectoryIndex index.php index.html index.htm index.shtml
<Directory "/var/www/html/">
Options ExecCGI FollowSymLinks Includes IncludesNOEXEC SymLinksIfOwnerMatch
AllowOverride none
</Directory>
</VirtualHost>
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
<Directory "/">
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/html">
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/icons">
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory "/var/www/cgi-bin">
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>
View 13 Replies
View Related
Jul 12, 2015
I have a dedicated server with debian 7 and plesk 12.1, I recently install php-fpm from the "Add and Remove Product Components" panel, then I activated the "process PHP by nginx" checkbox on "Web Server Settings " panel. when I did that every internal pages gives me a blanck page (i have a magento website), by looking on the url i found that i have always "/" (slash) at the end of all my urls and that deleting those slash fix the thing, i don't know how to stop php-fpm or nginx from adding this slash at the end of all my urls,
View 2 Replies
View Related
May 7, 2007
I've set up the affiliate manager from jrox.com for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have username.clientssite.com and have it count their clicks - which works properly.
What isn't working properly is that he also has forums.hissite.com, which is loading the main website page instead of his forums. He is using cpanel to add the subdomain, and it isn't failing, so I'm not sure what's going on with it.
Here is the relative section from the httpd file.
Quote:
<VirtualHost 74.53.106.146>
ServerAlias residualvictory.com
ServerAlias *.residualvictory.com
ServerAdmin webmaster@residualvictory.com
DocumentRoot /home/residual/public_html
BytesLog domlogs/residualvictory.com-bytes_log
ServerName www.residualvictory.com
User residual
Group residual
CustomLog /usr/local/apache/domlogs/residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/
</VirtualHost>
<VirtualHost 74.53.106.146>
ServerAlias www.forums.residualvictory.com
ServerAlias forums.residualvictory.com
ServerAdmin webmaster@forums.residualvictory.com
DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/forums.residualvictory.com-bytes_log
ServerName forums.residualvictory.com
User residual
Group residual
CustomLog /usr/local/apache/domlogs/forums.residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/
</VirtualHost>
And the bind file for his domain
Quote:
; Modified by Web Host Manager
; Zone File for residualvictory.com
$TTL 14400
@ 86400 IN SOA ns1.lucidic.com. root.lucid.lucidic.com. (
2007050705
86400
7200
3600000
86400
)
residualvictory.com. 86400 IN NS ns1.lucidic.com.
residualvictory.com. 86400 IN NS ns2.lucidic.com.
residualvictory.com. 14400 IN A 74.53.106.146
localhost.residualvictory.com. 14400 IN A 127.0.0.1
residualvictory.com. 14400 IN MX 0 residualvictory.com.
mail 14400 IN CNAME residualvictory.com.
www 14400 IN CNAME residualvictory.com.
ftp 14400 IN A 74.53.106.146
forums 14400 IN A 74.53.106.146
www.forums 14400 IN A 74.53.106.146
* 14400 IN A 74.53.106.146
View 10 Replies
View Related
Mar 22, 2007
it's possible to stop the redirection of a parked domain URL to my primary site.
For instance if my primary domain was abcd.com and i parked iloveyager.com ontop of it.
The redirection im talking about is this. If i go to
iloveyager.com/shots/ works fine.
however
if i go to iloveyager.com/shots (without the trailing slash) it will redirect me to abcd.com/shots
Doesn't mod_dir cover the redirection of a URL with and without a trailing slash?
I know there has to be a workaround for my problem and whether it lies in a .htaccess rewrite or modifying my apache conf is.
View 0 Replies
View Related
Aug 7, 2014
We are getting the below message in Apache's error.log when accessing from mobile application & updated apache from 2.4.9 to 2.4.10 also.Trailing dot is created after the URL.
I can able to hit [URL] ..... and I can't able to hit [URL] ....
View 11 Replies
View Related
Nov 8, 2009
I'm setting up an auto-configuration script to setup accounts in WHM and create subdomains and so far everything is working fine!
But we have a problem - when an account is setup and the subdomain is not working yet when a customer visits it he gets wrong dns information and then when the domain starts working it's not working for him.
I know that flushdns solves this issue under Windows but I don't want to make my newbie customers run complicated commands.
Will a 5 minut delay solve this issue from the moment the account is created to the moment the customer visists the site?
View 3 Replies
View Related
Jun 13, 2008
my control panel is PLESK, when our customers create sub domain they cannot access to their sub domains with www, for example the sub domain is sub.domain.com and I cannot access to this sub domain whit this address www.sub.domain.com .
what should I do to work the sub domains with www ?
View 4 Replies
View Related
Apr 27, 2008
I have a question about SSL certificates and how they function with subdomains.
OVERVIEW
Right now we have [url]. This subdomain houses our client management tool.
PROBLEM
We wanted to use an SSL cert on the above domain so I purchased a wildcard SSL. *.domain.com SSL was ordered and setup.
However, now when we enter[url]we're seeing the content from domain.com, not secure.domain.com
I understand we could use [url]but isn't the point of the wildcard SSL so I can do what I want... access [url]?
This is a cPanel/WHM setup.
View 9 Replies
View Related
Jan 30, 2007
I have googled high and low and i'm about to explode. This has been an issue for the last 4 days...
I have secure.domain.com
I bought a SSL cert for secure.domain.com
I installed the cert
[url] shows the right content
[url]shows the content for [url]
-
I've had this working before on site5, but I share a dedicated account now with WHM/cPanel and it's not working.
it's like the subdomain is being ignored.
-
Tll me if i'm wrong, but each SSL needs its own IP correct? i added an IP for domain.com and WHM seems to have set it for all the subdomains as well.
View 5 Replies
View Related
Jan 13, 2007
I purchased a dedicated server several days ago, and realize that this will be a learning curve for me since I'm not experienced in server management.
I have a quick question about subdomains.
My domain names have resolved (or are still resolving). I created two subdomains on a domain, but I can't access them. I'm not sure if there is anything else I should do to get these subdomains to work.
I'm using Plesk8.1
My domains are registered at GoDaddy (and some at RegisterFly)
if I can provide you with any information such as my DNS template, etc...
View 2 Replies
View Related
Nov 5, 2007
I know this question has been asked loads of times, but I don't seem to be able to find the answer I'm looking for.
I'm looking to host the forum part of my site on another server. The main part of my site is on a shared hosting account. Which is fine. I'm adding a forum to the site, and was planning on hosting this on my VPS account as a subdomain. As my shared hosting package is only small.
I've edited the DNS with my domain registration provider and added a A record for forum.mydomain.com pointing to the ip of my VPS account. I then created a account on my VPS for the domain/subdomain. However I don't seem to be able to get the subdomain to work
Do I need to ask my shared hosting provider to do anything? or do I need to edit anything on my VPS? The subdomain doesn't appear to be resolving.
View 6 Replies
View Related
Dec 11, 2008
I was wondering if it is possible to host subdomains on different VPS's? Here is what I am trying to do
PrimaryDomain.com -> Hosted on VPS0
|
- Subdomain1.primaryhost.com -> Hosted on VPS1
|
- Subdomain2.primaryhost.com -> Hosted on VPS2
VPS0, VPS1, VPS2 have different IP addresses.
I tried using A records to point subdomains to different VPS but VPS requires a "primary domain" looks like. Do let me know if this is possible. I tried google but not sure what exactly I shoudl be searching for.
View 4 Replies
View Related
Jun 16, 2008
I'm planning on buying my first domain in order to host various sites of mine in one place. I like the idea of subdomains to separate them, but I was wondering... Is it possible to access different subdomains using different passwords? I'm planning to let a friend of mine use a subdomain to host a site of hers that's related to mine, and I'd like it if she had the security of a different password. I just want to know if I can even do this, and if so, what hosts offer this option?
View 9 Replies
View Related
May 20, 2008
i have a bit of a problem here. I current have a site sitting on a windows box with wildcards subdomains set up, that are hosted on the same box.
The question i have is can i host blog.domain.com [wordpress blog] on a different box such as a linux one? and make it act as domain.com/blog?
View 6 Replies
View Related
May 28, 2008
I have 9 dedicated servers that i use for an applicaton.
what i would like to try and find out is the following.....
all the servers have WHM/Cpanel installed
i want to have a domain (www.domain.com) on 1 server
then i want to somehow have
server1.domain.com (second server)
server2.domain.com (Third server)
etc
Is this possible, if so how would i go about setting this up?
View 3 Replies
View Related
Jul 13, 2008
to have abc.mydomain.com redirect to mydomain.com/abc
to do this, I have:
1) created a DNS record at my hosting company, *.mydomain.com and it works, any made-up subdomain correctly points to my server.
2) using Plesk, I created a DNS record, *.mydomain.com
3) in an .htaccess file, I put:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.mydomain.com
RewriteCond %{HTTP_HOST} ([^.]+).mydomain.com [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/%1 [L,R]
... but the thing doesn't work, I keep getting the server's default page:
This is the Control Panel default page
If you see this page it means:
1) hosting for this domain is not configured
or
2) there's no such domain registered in Control Panel.
View 4 Replies
View Related
Mar 9, 2007
I have recently run into the need to setup subdomains on one of my site's with their own SSL certificate. Cpanel only allows one SSL per domain.
Does anyone have experience or a recommendation on how to setup a subdomain with it's own SSL.
My thought is to setup a separate hosting account for the subdomain. i did this in plesk a few times successfully, and in theory it should also work in cpanel. With the separate account, i can install a separate cert and the problem is fixed, but I'm not sure if it will work.
View 5 Replies
View Related
May 22, 2007
Is there a way to lookup all sudomains for a domain?
View 6 Replies
View Related
Dec 15, 2007
For some reasons i cannot get sub domains to work. I have the following and I have DNS entries set for both apps and www.apps but it simply won't resolve the url and it can't be pinged
<VirtualHost 74.86.193.50:80>
ServerName apps.mydomain.com
ServerAlias www.apps.mydomain.com
ServerAdmin webmaster@apps.mydomain.com
DocumentRoot /home/mydomain/public_html/apps
<IfModule mod_suphp.c>
suPHP_UserGroup mydomain mydomain
</IfModule>
<IfModule !mod_disable_suexec.c>
User mydomain
Group mydomain
</IfModule>
BytesLog /usr/local/apache/domlogs/apps.mydomain.com-bytes_log
CustomLog /usr/local/apache/domlogs/apps.mydomain.com combined
ScriptAlias /cgi-bin/ /home/mydomain/public_html/apps/cgi-bin/
</VirtualHost>
View 1 Replies
View Related
Apr 7, 2007
I would like to do the following but on Plesk 8.1.0 for Windows:
[url]
How should I do it?
View 0 Replies
View Related
Aug 6, 2007
my friend told me all i have todo is type user.domain.com to give my customers a subdomain. Its not working somehow, the subdomain is not reachable. How do i give an account an subdomain?
View 2 Replies
View Related
Nov 23, 2007
I have one domain that no matter what I do, cant use subdomains.
I create test.domain.com, john.domain.com, etc, they simply dont work.
httpd config shows:
Code:
# DO NOT EDIT. AUTOMATICALLY GENERATED
<VirtualHost SERVERIP:80>
ServerName john.domain.com
ServerAlias www.john.domain.com
DocumentRoot /home/johnuser/public_html/john
ServerAdmin webmaster@john.domain.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/john.domain.com combined
BytesLog /usr/local/apache/domlogs/john.domain.com-bytes_log
<IfModule !mod_disable_suexec.c>
User johnuser
Group johnuser
</IfModule>
ScriptAlias /cgi-bin/ /home/johnuser/public_html/john/cgi-bin/
</VirtualHost>
named.conf shows both A entries correct at domain.com.db:
Code:
john 14400 IN A SERVER-IP
www.john 14400 IN A SERVER-IP
The subdomain was created 2 days go, so this is not a dns propagation issue.
Im using latest cPanel RELEASE version, and RHES 4.
View 7 Replies
View Related
Aug 6, 2007
I currently have shared hosting, but am getting VPS with another company. I'd like to keep my domains on my original hosting and direct the domains to the new server. I've been reading and it doesn't seem that hard to change for a regular domain. The problem is I don't seem to understand how to do the same for a subdomain. I keep reading about the A record and CNAME, but just don't get it.
Does anyone have any experience with this. Do I just put the IP address for the new server in the A record? I just want to make sure I know what's going on before I order my new hosting and find out it's not possible or something.
I'm also curious if mail, like myname@mydomain.com will continue to work. Or is there something I need to change for this as well.
View 2 Replies
View Related
Nov 2, 2008
im trying to set up a site for a client whereby they can add subdomains to their existing domain (http://test1.client.com/, http://test2.client.com/, etc.).
its a dedicated server with Plesk...can anyone point me in the right direction please?
ive searched these forums but havent come up with much, but maybe didnt search for the right terms, so my apologies if this has been answered before.
View 1 Replies
View Related
Sep 25, 2005
I'm a linux guy that occasionally has to work on ASP sites.
Maybe I've just been spoiled, but on my linux accounts I can set up fully functional subdomains that are completely independent of the main domain. In other words, a reference to root like "<img src="/images/pic.gif">" points to the root directory of the subdomain, and all my files for the subdomain are located outside of the main domain's directory tree. I realize I can use the whole URL in the reference, but would rather not for ease of portability. Come to think of it, will a windows server recognize a root reference - does it require any special setup?
Can anybody recommend an ASP.net host that can handle subdomains like this? I've been searching around wo/ any luck.
View 0 Replies
View Related
Aug 28, 2006
As the title states I'm wanting to forward many subdomains on a site I recently acquired.
The still has a lot of traffic to subdomains that no longer exist and I want to somehow redirect all of them to my main domain index page.
I didn't figure I could use .htaccess because the subdomains no longer exist.
Is there some way to do this via DNS or perhaps the httpd.conf file?
View 3 Replies
View Related
Feb 27, 2009
I'm trying to figure out how many domains and subdomains I can get with each plan from Network Solutions, Enom and Yahoo. Is there any set standard of number of subdomains per domain? Network Solutions gives you one domain for two of their plans, three for the third, but says nothing about subdomains...
View 13 Replies
View Related