.htacess Folder To Subdomain
May 17, 2007exmaple if you have say
wht.domain.com
you can access it at
domain.com/wht
how could i make it forward or stay to wht.domain.com
exmaple if you have say
wht.domain.com
you can access it at
domain.com/wht
how could i make it forward or stay to wht.domain.com
How do I use DNS configurations to point a sub-domain to the main-domain's sub-folder?
Right now, the sub-domain is going to its own account, instead of going to a folder within the main-account.
WHM (cPanel) has this option and can be setup automatically, but Plesk doesn't seem to have it. It requires me to manually configure the DNS which I have no idea how to...
If I have domain.com going to /html/ on my server,
how do I get blog.domain.com to go to /html/blog ?
and I want the url to SHOW as blog.domain.com in the address bar.
seems like it should be simple, but I cant seem to find the answer! is it an htaccess thing, or a cname thing, or both?
Can anyone recommend a webhost that supports .htaccess feature.
View 12 Replies View RelatedI wanted to host multiple domains on the same hosting a/c and so I bought GoDaddy's economy hosting which supported multiple domains. But now when I try to add multiple domains, it displays this message -
"The domain path cannot be modified for economy hosting accounts."
That means all domains point to the same folder/content which is not what I wanted. So is there way to put a .htacess file or make an index.php file which can read where the request comes from and automatically redirect them to appropriate folders???
For e.g.
main_folder
index.php
.htacess
domain1_folder
domain2_folder
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 ?
On my VPS I would like to set the /tmp folder to 777 and point to it with session.save_path.
The VPS will host a number of sites, but I will have sole control of them. ie. the account holders will not have access to cpanel.
If it makes any difference, the server is running phpSUexec.
What are the risks involved with this?
I have two servers.
One server has a folder named 'vidfiles' and I want to transfer this entire folder (all 70gigs) to another server I just got.
Both servers are linux and use CPanal/whm.
What would be the command to get the files to transfer direct from server to server?
I have problem,
subdomain.domain.com - not working
www.subdomain.domain.com - working
When I creating new subdomain: subdomain2.domain.com - all working ok, I have problem only with this one domain.
I deleting domain.com, deleting dns zones, deleting account, adding domain to other account - all not working for subdomain.domain.com
When I was with another host, they set it up so one of my subdomains had a static IP address, and I was able to use this for my SSL certificate. My new host (sharkspace) uses CPanel (other host used HELM) but it seems to me like CPanel could do this as well.
Does HELM have some feature that CPanel does not? How do I set this up? They are telling me that they cannot do this for a subdomain, and I cant afford to go buy a wildcard ssl certificate.
They also told me in the past that the only way to redirect a subdomain was using an iframe (when using the DNS Zone Editor was entirely doable) so im not exactly sure their staff has much of a clue going on,
I want to create a subdomain "exchange.domain.com"
I want this subdomain to be redirected to another site. Possible? how?
the hoster has a catch all set on my domain, domain.com
but how can I add a subdomain and have that subdomain redirect to a different site in IIS 6 (WS2003)?
to block all IPs to a subdomain, except one. I am sure there are many ways to do this but I need the most secure. The domain does not need the IPs blocked, just the sub domain.
View 3 Replies View RelatedThe folder is according to my FTP program chmod 755 but still when I visit the directory though the web browser it gives me the error "403 Forbidden". When I try to change the chmod in my FTP program I get the error "550 SITE CHMOD command failed.". What can the problem be? Yesturday I could get access to that folder with the MRTG graphs and today, just "403 Forbidden". What can have happened?
View 7 Replies View Relatedi want to know how i can add quota to different folders,
For example the ftp user "test" have the folder "/home/admin/folder/test/" but i want to set a max quota that he can have on the folder, i tried with ftpquota but the problem is that he can add files from http too.
How can i add quota to folder test?
I host a website on a windows server
and once in a while, i check all the root folders to find a folder that holds 40GB of folder in a folder in a folder... (i never get to the actual files)
Is there a way to prevent this?
i have a forum,run on a server,
and i want to put the forum's attachment folder on another cpanel account (it is installed cemtos / cpanel and csf),
i want to how can i set on the cpanel account (it is installed cemtos / cpanel and csf) to let the forum can upload the files to the attachemnt folder on it directly?
i install joomla on my server but need 777 permission.
can anyone give me to advice for best resolution security for 777 permission?
I have an folder in my server, total size is about 5GB. I want to zip it and cut into 5 parts sized 1GB. Which command should i run.
After reading via google, i just found out run
zip -r filename.zip homedir/
to create a zip file.
i deleted everything from my hosting account. i wanted to delete the content of the public_html, but i deleted everything. i downloaded 3 back-ups from cpanel.. every back-up is different.
the thing is.. i cannot make it work back. seems that the email addresses are working, databases and everything seems to work.
folder structure of a similar account?
i cannot make the web-site to work. the link from www folder is gone. i mean when i copy something to public_html is not copied into www folder anymore.
How can i RAR a folder in my server?
I have a folder with lots of files, and i want to RAR that folder in my server.
Is there any SSH command or something?
I know i can TAR and GZIP but i want to RAR it...is it possible?
not subdomain but just a simple folder after my domain
I want to host it some where else
Is that possible or should I give up
i got whm / centos 4.*
the tmp folder keep hitting 100% i just cleaned yesterday!
it has a 485M size.
/var/tmp
most of extension are *.wrk
I'd like to backup a big folder on my hosted Linux server using SSH from my desktop at home.
Lets say the folder is: public_html/folder1/folderYX
I'd like to zip it and download it to my desktop hard drive.
What commands do I run from my SSH client after I have logged in to my server?
how to force that the PHP files won't run if the folder permission is 777
I saw this in micfo.com
but I want to know how to do this
If i give someone ftp access to a folder, is it possible for them to gain access to other parts of the website that they aren't allowed to?
Also it it possible for them to like upload a virus and then somehow run it also?
Could they possible get my server root password also?
My web host sets up public_html for http and public_ssl for https traffic.
So, if I want my whole site to be secure, I place everything in public_ssl.
However, I am using a shopping cart system inside a CMS.
I want only certain parts to be secure - e.g. the last stage of the checkout procedure.
At the moment, I can only achieve this by having two copies of the CMS/shopping cart, one in public_html and one in public_ssl.
Whilst this approach works (at least from the shopper's point of view), there are lots of problems from a content management point of view.
My host is of the opinion that "this is the only way it can be done".
Is it possible to enable ssl on public_html, have a single copy of the cms there, and then switch between secure and non-secure mode as needed?
If this is possible, can you provide me with a technical description of the setup that I can pass on to my host?