Subdomain Must Go To Domain/folder
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?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Subdomain To Sub Folder DNS
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...
View Replies!
View Related
Domain/subdomain
Can I have a primary domain - www.sample.com - point to another primary domain - www.sample.asn.au - but then have the entry point for that domain be a subdomain - www.ccc.example.com? If the primary domain is parked somewhere else, doesn't it mean that all the subdomains will be too? Or do I use a 301 on the primary domain to the .asn.au site? But does that then redirect all the subdomains too?
View Replies!
View Related
Parking A Domain Under A Subdomain
I have 2 domains ie. red.com blue.com. They are both on seperate servers. I want red.com to be a subdomain for blue.com. I went ahead and created an A host for red.blue.com, I then created a virtualhost and everything is working, I can pull up red.blue.com and it pulls up the same data if I were to go to red.com. Here is my issue. I want to have red.com pull up red.blue.com by default so blue.com gets credit for traffic, I am moving red.com and moving it all into blue.com. Hopefully this makes sense. Also, I want to make sure nothing breaks my current search engine results.
View Replies!
View Related
Add-on Domain And Subdomain
Let's say my domain, for which I have shared hosting, is www.mydomain.com I have also registered the domain www.yourdomain.com My hosting has cPanel I add www.yourdomain.com as an add-on domain. Inside my root folder the folder /public_html/yourdomain/ is created. When I create the subdomain subdomain.yourdomain.com, the folder /public_html/subdomain/ is created instead of /public_html/yourdomain/subdomain/ Can I assign the /public_html/yourdomain/subdomain/ folder to be the root of subdomain.yourdomain.com? e.g. I have the file image.jpg at /public_html/yourdomain/subdomain/image.jpg and it's accessed from subdomain.yourdomain.com/image.jpg Is this possible? Having a lot of folders directly under /public_html/ would get annoying for me.
View Replies!
View Related
Subdomain Point To Another IP/domain
I would like to create a domain which will point to another website/IP. Something like this: DomainA.com has subdomain1.DomainA.Com and subdomain1.DomainA.com point to DomainB.com So that a file DomainB.com/abc.html Can be access via subdomain1.DomainA.Com/abc.html
View Replies!
View Related
Parking A Subdomain On Another Domain
I want to park a subdomain on a domain like below. subdomain.aaaaa.com parked on xxxxx.com if my visitor opens subdomain.aaaaa.com he will actually see xxxxx.com without know that they are seeing xxxxx.com I had done this before using cname settings few years ago through cpanel but i dont remember that anymore.
View Replies!
View Related
Mapping An External Domain To A Subdomain?
I have a website where users can sign up and create a site. They can access their website by typing username.example.com. However, I would like to add to this the ability to buy a domain name and point it to username.example.com so example.com/guestbook.html would translate to username.example.com/guestbook.html (external domain and associated user are mapped in the database) Do I need my own DNS server for this or is there a simpler solution? Also, how should the database lookup be performed for this to work?
View Replies!
View Related
Configure Domain And Subdomain On Tomcat
I have configured Apache+Tomcat on Linux server. I have configured 50+ domains not problem is that sometime when i configure new domain and restart the service and access the url http://domain.com i get following error -----> HTTP Status 404 - / type Status report message / description The requested resource (/) is not available. but when i access same url with file like [url]i able to access that url and working fine. same problem for subdomain also [url]same error but [url]is working so can anyone tell me what is the exact problem and how to solve this problem. Note:- Other domains are working fine this problem is only with 2-3 domains and subdomain and secondly i have also set DirectoryIndex index.html index.jsp index.php Please check my server.xml and httpd.conf -------> <Host name="domain.com" appBase="/home/domain/public_html"> <Alias>www.domain.com</Alias> <Context path="" reloadable="true" docBase="/home/domain/public_html" debug="1"/> <Context path="/manager" debug="0" privileged="true" docBase="/usr/local/jakarta/tomcat/server/webapps/manager"> </Context> </Host> <VirtualHost 192.168.1.1:80> ServerName domain.com ServerAlias www.domain.com DocumentRoot /home/domain/public_html ServerAdmin webmaster@domain.com JkMount /*.jsp ajp12 JkMount /*.jsp ajp13 </VirtualHost>
View Replies!
View Related
Domain Root And Subdomain Structure
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 Replies!
View Related
Subdomain To Main Domain Moving
I have a domain name as per my sig. I am also creating a subdomain totally in contrast with that site below. My primary domain has one page on it so i would like to: a) delete the one page on my primary domain b) Make the contents of my subdomain my primary domain. e.g my domain is www.info-peep.com, my sub will be example.info-peep.com........i would like to make example.info-peep.com : www.info-peep.com......that make sense, as really the sub will be my main site. Basically wanting to transfer the contents of my sub to my primary. So when people click info-peep.com, it will be the sub's site. Another thing to note is that i am using RVsitebuilder (WYSIWYG) that my web host provides. Also BEAR IN MIND the WYSIWYG editor does not allow me to move pages (sucks) or to copy the page contents.
View Replies!
View Related
Htaccess - Moving Site From Subdomain To New Domain
I have what I think is kind of a unique situation with a site move and Google is not turning up an answer that seems to work. My site is currently in this format: www.mydomain.com/site/file.html And I am "moving" it but also switching from html to php, so the same file would be found at: site.mydomain.com/file.php I want to redirect users going to the old pages to their equivalent on the new site, however this is a little bit of a problem because this is a normal subdomain - it is the same directory as before but now there are php versions of the html files. Right now I have all of the http files redirecting to their php equivilents, but I don't believe this is a desirable solution. Also it creates a problem when people go to www.mydomain.com/site (not indicating a specific file; just the subdir root) because I have www.mydomain.com/site/index.html redirecting to www.mydomain.com/site/index.php. Quite a mess. My first option is to put the redirects in the htaccess file on the "old" site. But is this a problem because there are over 500 pages on the site? Does it create a heavy server load because any requests force the server to serve a huge htaccess file? The next alternative seems the most preferable although I'm not sure how to do it. It seems it could use wildcards so that anyone going to *.html gets directed to *.php or something like that. The only problem is that there are a small number of files that were removed completely and do not have php equivilants (about 5 or 6) and would need to redirect to the index.php in the root
View Replies!
View Related
Can Other Hosted Sites Be Access Through Your Domain/subdomain
I'm using a shared host that provides good service and support, but there's one major issue I discovered recently: Other sites hosted on their server are accessible through my domains and subdomain. For example: Account2 on their server can be accessed through: [url] [url] Host says: "Because everything is Name-based, apache decides what directory is going to be used based upon the name that is provided. However, because the username is valid, it treats it as a vaild URL and redirects it to your site. There is no security issue, as this is just the way apache’s configuration works." Is it really normal? Does the same happen on all apache servers? I think SE's would treat the other pages as mine, no?
View Replies!
View Related
While Add Subdomain/domain(while Cpanel Edit The Httpd.conf)
When cpanel edit the httpd.conf(to add subdomain/domain/etc) made a wrong. In the lines BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com-bytes_log CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined it breaks them as follows -- BytesLog /usr/local/apache/domlogs/domainorsubdomainname.com -bytes_log CustomLog /usr/local/apache/domlogs/domainorsubdomainname.com combined And httpd cannot start and failed.
View Replies!
View Related
/tmp Folder 777 ... Use As Sessions Folder... Secure
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?
View Replies!
View Related
How To Set Subdomain To Other Server, Domain In Godaddy, Server In Outside
i had searching in this forum and in google How to set Subdomain to other server, i had try some of methode but still not working, because i cant set A Name in godaddy, because i use other webhosting outside godaddy i just have ip address from my other server, i want subdomain to go this ip address, for example 10.42.1.21 what is your experience in godaddy, how to set Subdomain to other server, please give simple step by step dude
View Replies!
View Related
Folder Quota
i 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?
View Replies!
View Related
40 GB Of Unknown Folder
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?
View Replies!
View Related
Folder Structure
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.
View Replies!
View Related
Searching Folder Name
I want to have a cronjob that would search /home every 2 hours for a certain folder name then it will save the path on a text file and notify me if found. Anyone can help me what to put on the .php file and include that on cronjob?
View Replies!
View Related
Where Is My Home Folder
i got new os reload to my server.. my old hard disk is connected to my server as a second driver i have got some files to move my first hard driver.. but i can't see my home folder.. second hd mount on mnt/sdc1 when i do this [root@server3 sdc1]# dir aquota.user grub lost+found System.map-2.6.9-42.0.10.ELsmp vmlinuz-2.6.9-42.EL config-2.6.9-42.0.10.EL initrd-2.6.9-42.0.10.EL.img message System.map-2.6.9-42.EL vmlinuz-2.6.9-42.ELsmp config-2.6.9-42.0.10.ELsmp initrd-2.6.9-42.0.10.ELsmp.img message.ja System.map-2.6.9-42.ELsmp config-2.6.9-42.EL initrd-2.6.9-42.EL.img quota.user vmlinuz-2.6.9-42.0.10.EL config-2.6.9-42.ELsmp initrd-2.6.9-42.ELsmp.img System.map-2.6.9-42.0.10.EL vmlinuz-2.6.9-42.0.10.ELsmp where is my home folder
View Replies!
View Related
Which Files And Folder Using 34 Gb
Im facing a very strange problem my forum folder using almost 68 gb of space .but my main folder in forum is uploads folder which used 32gb then where is remaining 34 gb when i try to check the size of directory in tree forum then it show like that du --max-depth=1 9040 ./sources 24 ./retail 24 ./mod_install 1700 ./resources 292 ./modules 44 ./lofiversion 33486952 ./uploads 3300 ./upgrade 52 ./images 600 ./style_emoticons 8124 ./cache 17964 ./style_images 44 ./admin 84 ./converge_local 920 ./style_captcha 412 ./jscripts 2252 ./skin_cache 8 ./1 1928 ./skin_acp 232 ./style_avatars 228 ./lang 836 ./install 11200 ./ips_kernel 72269856 Im unable to see directory other than uploads folder which having too much space will you help me ? du -ah | grep G 32G ./uploads 12K ./style_images/folder_team_icons/Backup/Games[1].Master.png 4.0K ./style_avatars/ArmondoGuitierrez.gif 8.0K ./style_avatars/IPB_Community_Pack/Green-haze.gif 8.0K ./style_avatars/IPB_Community_Pack/Golfball.gif 68G .
View Replies!
View Related
A Folder Redirect
I have a question regarding folder redirection. For example if i have a url like www.mydomain.com/forum if i rename the folder forum to board and i want that if user put address www.mydomain.com/forum/showthread.php?t=585657 then it will automatically redirect to www.mydomain.com/board/showthread.php?t=585657 is that possible i want that every topic or file redirect to new folder?
View Replies!
View Related
Folder Structures
I would like to have a default folder sturcture to use anytime i start a new site. I have been trailing the web trying to find examples of good structures which could be generic to many sites. obviously this would only be a guide as you cannnot have a static structure for all sites.
View Replies!
View Related
Files Stored In Same Folder
I paid a programmer to make me a custom image script. Everything works perfect... the only problem is that all images are being stored in the same folder, will that make my server too slow? we are talking about thousands of images
View Replies!
View Related
Move Public_html Folder
I have recently registered a new dedicated server, I am trying to move some sites over. Essentially, what I am trying to do is copy the public_html folder from one server to another. I have root access on both accounts, I have managed to move the whole home folder from the old to the new, but I guess I would need to download all 2gigs worth of data then upload again, or is it possible to extract only the information you need from the compressed backup. I am thinking that specifying data from an uncompressed folder wouldn't be possilbe, so, is there a way of moving certain folders from one server to another via SSH?
View Replies!
View Related
Backup Folder With Ssh
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?
View Replies!
View Related
How Do U Redirect A Folder To Another Server
I'm hosting a site for a organization but using our own servers. Problem is that they did not want to use a subdomain link to our server but instead wants the server to appear as www(dot)abcdefg(dot)com/ourserver/ can this be done. Currently my options are : 1) Force them to use sub domains and redirect 2) HTML "Frame" their website to ours (ungraceful method) 3) Truely Redirect it to our server by some means...
View Replies!
View Related
FTP Access To A Folder
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?
View Replies!
View Related
Question About Cpbackup Folder
Kind of a newb question but when I go into my cpbackup folder, then for example, into my daily folder..I see a number of accounts in there. Some are shown as only "accountname" and then some are shown as "accountname.0" What is the difference between them? Are the ones that end in .0 currently active accounts on the server? Thanks
View Replies!
View Related
|