Redirect a folder to subdomain?

Is there any way to redirect a folder path (such as www.domain.com/mail) to a subdomain (mail.domain.com)? I am running OS X Server Mavericks and I have limited knowledge about Apache. Also, I do not store my site files in the default directory. I put them in a seperate folder thats easier to access.
If you could explain the process step by step, it would be great! Thanks!!!

Check out "redirects":
<http://krypted.com/mac-os-x-server/setting-up-and-using-web-services-in-os-x-mav ericks-server/>
I've not used that feature myself, so I couldn't provide a step-by-step.

Similar Messages

  • Exchange 2010: Redirect Logging folder

    I need to redirect the E:\Exchange\V14\Logging folder to L:\Logging.  Will the mklink be able to redirect the folder?
    mklink /j E:\Exchange\V14\Logging folder  L:\Logging
    Is there a better option?

    Hello,
    Since different kinds of logging files are store under the folder, I am afraid its location cannot be changed.
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

  • User cannot access redirected Documents folder, but can connect to share in Windows Explorer and access folder on server

    I am in the final stages of a cross-forest migration.  Users have Windows 7 workstations with redirected folders on a Windows Server 2012 box running in the old forest.  User accounts were not migrated.  The accounts in use have always
    been in the "new" forest.  One of our challenges was the large volume of data in redirected folders.  I made sure users in the target forest had continued to have access to their redirected folders in the old forest and robocopied
    the entire users share, copying the permissions with the files.  By doing incremental robocopies, we can get a final copy done now in about six hours.  The plan was simple: copy the files, do an incremental copy every night, on the night of the cutover
    change the folder redirection policy Documents path from
    \\oldserver\users\%USERNAME% to
    \\newserver\users\%USERNAME%. The policy is configured to NOT copy user files from the existing folder to the new redirected folder.  Everything was going well until I tested the policy change.  After the folder redirection policy is updated
    and applied, the user cannot access the private Documents folder.  For example, user Chester Tester logs on as ctester.  I open Windows Explorer and click the Documents shortcut.  I see one subfolder, which is subfolder of Public Documents. 
    So I can look at Public Documents but when I click on the Documents folder (Under the Documents library link) I get an access denied error.  Now for the kicker, if I open another Windows Explorer window and edit the address bar to
    \\newserver\users\ctester, I can navigate the Documents folder tree and see my thousands of documents. What the ....?
    I'm hoping this is something really simple to fix!
    TIA

    HI Vivian,
    Thank you for your reply.  Yes, the path in Group Policy Folder Redirection Root Path was updated to
    \\NEWSERVER\users.  I had planned to point this to the distributed file system, so the first used was actually
    \\domain\dfs\users.  To simplify things I have backed off to copying to just a normal share
    \\newserver\users. 
    We are using BASIC folder redirection and we create a folder for each user under the root path. 
    We did not want the policy to move content, as we were seeing users requiring 15-20 minute logon times  (or higher) after the policy is changed.
    Grant the User exclusive right to Documents - Disabled
    Move the contents of Documents to the new location - Disabled
    Related folder settings
    Video - Follow Documents
    Music - Follow Documents
    Pictures - Follow Documents
    Now when I change the folder redirection from old server to new server I now have TWO My Documents folders in the user's redirection folder on the server.  The redirected Documents points to an empty folder set.  The copied folders with all user
    data are there, but folder redirection refuses to recognize the original folder.
    I am looking at the full view of the folder, nothing hidden, so I'm wondering how a folder can have two subfolders with the exact same name.  For now, I just want the redirection to move from the old server to the new server properly.  I deleted
    the new My Documents folder, rebooted the user's workstation and tried again.  The behavior repeats itself, i.e., a new My Documents folder is always created when the redirection policy is changed from the old server to the new server.  The environment
    has about 1500 users with approximately 1.3TB of data in the redirected Documents folders.  OUCH!

  • Stumped on Email being redirected to folder without rule being setup

    All of a sudden, email from one specific user is being redirected to a folder called junk (NOT "the" Junk Email that we all have but, a different folder simply called "junk"). There are no rules setup. If you move the emails back to
    the inbox..they go right back to the junk email folder. If you create a folder and move the emails to it, then delete the "junk" folder...a new folder..same name is created and the emails go right back into it. New emails from only this one specific
    user go to to the junk folder. Mailbox repair reported no corrupt objects. A complete rebuild  of the mailbox was done and the old data imported back into it. Still the same problem though. The user with the problem has email setup on a Samsung Galaxy
    3 Note but, I did not see anything on it that would have allowed this re-direction. The problem does not seem to be specific to his Outlook profile on his PC as I get the same results on my PC with his account. He has Outllok 2007 and I have Outlook 2010..so,
    versions did not seem to matter either. Anyone have any ideas on this..everyone I've talked to so far is baffled.

    Hi,
    Glad to know that you have found the solution. Thanks for your generous sharing : )
    Have a nice day.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Muse mobile site has a redirect loop in my subdomain

    I have an existing site which I am working on redoing in Muse, but I wanted to get a mobile version up immediately. I got it working, tests out fine in preview and BC, but after uploading it to a subdomain (m.junebugjam.com) I keep getting a redirect loop with smartphone and tablets. Desktop views it fine, so I know it's something in whatever Adobe uses to detect mobile users. Currently, I just have .htaccess redirecting to BC, but I would prefer to be using my own domain (not too fond of the "Report Abuse" button.)
    Site is: www.junebugjam.com
    Sub is: m.junebugjam.com
    Thanks in advance for the assistance.
    -Scott

    So your desktop and mobile versions are on different hosts? If so you need to add the redirect script to your desktop page if on mobile and you need to direct it to the mobile domain. It looks to me like you have also created the mobile layout in the desktop view in Muse?

  • Redirect iTunes folder, but default location gets recreated

    For reasons of organization, I redirect my iTunes folder to not reside in the (My) Music folder of Windows 7. iTunes does move the folder, but each time you
    re-open or start iTunes it recreates the iTunes folder in the Music path.
    Is this a known issue and are there any solutions ?
    Thanks

    By the way, I followed instructions as per link http://support.apple.com/kb/ht1364 - it did not work either. Can anyone share their success stories ? My C drive is not big and my music library ~ 100gB - I really need to keep iTunes media files in another location ... not a default place under User Login

  • Redirecting Favorites folder breaks SBL ?

    Here is a weird scenario that I have notice and have no idea why its causing an issue.
    As the topic mentions if I login to Windows 7 x64(has been joined to a domain) using SBL(authentication through device certificates) and I have my favorites folder redirected to a network location I will receive 2 popup messages from anyconnect.
    The 2 messages are:
    “VPN Service not available”
    “The vpn agent service is not responding. Please restart the application after a minute.”
    When I click ok on the last message, anyconnect client shutsdown. If I restart the anyconnect client, the client immediately connects.
    If I disable the favorites folder redirection Anyconnect & SBL work perfectly.
    Anyone else seen this issue ?
    John

    I have experienced the same issue and opened a TACS case.
    After some testing I was advised to set the IE proxy lockdown to 'No' in the AnyConnect Group Policy:
    Group Policy -> Advanced -> Browser Proxy -> Proxy Lockdown
    This resolved the VPN restarting.  A Bug has been opened for this issue:
    CSCue74449    Browser Proxy Code needs to execute on separate thread
    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCue74449
    Jon

  • Redirect "home" Folder on macbook pro

    I have a quick question concerning home folder.  I have a Macbook Pro and I have the "Home" folder on an external hardrive because my SSD simply is not large enough to hold all my files.  Now,  I am going to a Macbook Air because I have no use for the power the Pro has and my question is, should I make the "home" folder go back to the Pro before I do an intial erase of the harddrive?  Or does this not matter?  I will be doing the same on the macbook air in terms of "home" folder going to external drive.  My Pro and external are both backed up by Time Capsule as well.  Thanks in advance.

    should I make the "home" folder go back to the Pro before I do an intial erase of the harddrive?
    If you want to transfer data from that machine to the new one in Setup or Migration Assistant, you should first restore it to the configuration you want.

  • Folder Redirection 502 Access Denied but redirecting to wrong place

    Hi,
    I have come across a very unusual problem.  Folder redirection was implemented a few months ago where a number of folders were redirected with the following settings:
    Redirect everyones folder to the same location
    Create a folder for each user under the root path
    \\server\homefolders
    It has worked flawlessly but in recent weeks when we create new users, some of them experience this problem.  Folder redirection fails consistently for that user with 502 Access denied.  That isn't the unusual bit.  This is the unusual bit
    - The message is:
    Failed to apply policy and redirect folder "Documents" to "\\fileserver\homefolders\joe.bloggs\Documents".
    Redirection options=0x1001.
    The following error occurred: "Failed to build the list of regular subdirectories under "\\fileserver\homefolders\Jane.Doe\Documents".".
    Error details: "Access is denied.
    Yes for some reason it knows where it should be redirecting to, but then attempts to redirect to someone elses home folder location.  I've substituted the server name and user names for security but the name equivalent to Jane.Doe is consistent in every
    error.
    This only occurs on our RDS 2012 R2 farm, which has 3 session hosts and doesn't happen on any other system.  We use roaming profiles.  I have logged the user off and deleted the local and network profiles but get the same result.  I've
    rebuilt the GPO that handles folder redirection, but again, same result.  I've checked and double checked Folder Redirection settings and nothing points to a this specific Jane.Doe user.
    Anyone come across this before?

    Hi,
    I have come across a very unusual problem.  Folder redirection was implemented a few months ago where a number of folders were redirected with the following settings:
    Redirect everyones folder to the same location
    Create a folder for each user under the root path
    \\server\homefolders
    It has worked flawlessly but in recent weeks when we create new users, some of them experience this problem.  Folder redirection fails consistently for that user with 502 Access denied.  That isn't the unusual bit.  This is the unusual bit
    - The message is:
    Failed to apply policy and redirect folder "Documents" to "\\fileserver\homefolders\joe.bloggs\Documents".
    Redirection options=0x1001.
    The following error occurred: "Failed to build the list of regular subdirectories under "\\fileserver\homefolders\Jane.Doe\Documents".".
    Error details: "Access is denied.
    Yes for some reason it knows where it should be redirecting to, but then attempts to redirect to someone elses home folder location.  I've substituted the server name and user names for security but the name equivalent to Jane.Doe is consistent in every
    error.
    This only occurs on our RDS 2012 R2 farm, which has 3 session hosts and doesn't happen on any other system.  We use roaming profiles.  I have logged the user off and deleted the local and network profiles but get the same result.  I've
    rebuilt the GPO that handles folder redirection, but again, same result.  I've checked and double checked Folder Redirection settings and nothing points to a this specific Jane.Doe user.
    Anyone come across this before?

  • Folder redirection configured in GPO does not create Documents folder and does not redirect

    Hi
    Another Folder Redirect-post - sorry for that, but I could not find an answer for my problem so far: even with consulting many threads here...
    We have an existing environment under Windows XP and want to move away from that. Now I ran into troubles with folder redirection...
    The following folder- and permission structure exists so far:
    \\<server>\<Users$-share>: This is the base folder for all users-directories
    -> Permissions: SYSTEM: Full / Administrators: Full / Users: Read&Execute, only this folder
    -> Share-permissions: Authenticated users: Full control
    \\<server>\<Users$-share>\<username>: base folder for the specific user
    -> Permissions: SYSTEM: Full / Administrators: Full / User: Change, all permissions inherited onwards
    -> Giving only change permission prevent further problems with self-called "advanced users"... ;-)
    \\<server>\<Users$-share>\<username>\profil.V2: Profile directory of the user
    -> Of course here the permissions are set by the system: override the predefined permission
    \\<server>\<Users$-share>\<username>\daten: Atcual Home directory of the user
    \\<server>\<Users$-share>\<username>\daten\Documents: Suposed Documents directory of the user
    Now I am going to Server 2012 and Windows 8.1, configured the GPO to redirect Documents folder into the above mentioned:
    GPO - User configuration - Policies - Windows settings - Folder Redirection - Documents:
    Setting: Standart - redirects all folders to the same path
    Destination folder: Copy to base directory of the user
    I apply policy to the user, log out and in - it doesn't work, no folder Documents created in my home-folder, Folder Documents still configured at C:\Users\<user>\Documents
    A very special point:
    I also do Redirection of the My Pictures-folder: Define it to follow the Documents folder. Funnily that one works and creates and configures \\<server>\<Users$-share>\<username>\daten\Pictures
    -> So in my eyes, it should work!
    Then: I want to do the folder redirection without Offline Files, due to the fact, that our users work with dynamically assigned virtual desktops, which are been cleaned everytime a user logs off a machine. Therefore synchronizing doesn't make sense...
    I just cannot see, why this redirection does not work :-(
    Thank you very much for any help!
    Kind regards
    David

    Hi David,
    Before going further, would you please let me confirm the OS version of the Windows Server which you used to
    configure folder redirection? Based on your description, did you mean that those users (who will be applied folder redirection settings) logged on Windows XP client computer?
    When you configure the folder redirection setting in Document Properties (path:
    User Configuration-> Policies-> Windows Settings-> Folder Redirection-> Documents), please check if you checked “Also apply redirection policy to Windows 2000, Windows 2000 Server, Windows XP, and Windows Server 2003 operating system” in Settings
    tab. As below picture shows.
    à
    GPO - User configuration - Policies - Windows settings - Folder Redirection - Documents:
    à•Setting: Standart
    - redirects all folders to the same path
    à•Destination
    folder: Copy to base directory of the user
    Would you please provide a screenshot of those settings you describe? Meanwhile, please summarily describe
    that how you configure. For example, where this GPO link to? Or any other. It will help me to understand clearly. Thanks for your understanding.
    In addition, please use
    gpresult command to check if the folder redirection group policy was really applied.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Folder redirection (Desktop) not working sometimes

    I'm having an issue where sometimes desktop redirection is not working properly.
    We have AD set to point the profile path to a local mandatory profile, with GP redirection set for several items, including desktop. However, about half the time when the user logs in, the desktop showing is from their local profile (C:\Users\[username]\desktop).
    By logging out and back in a couple times it will finally load the desktop from the redirected location on the network, and the correct icons will show on the desktop, but it will ultimately not work again on the next logon.
    Tried GPUPDATE, didn't fix the problem. It doesn't appear to be a rights issue, as I can successfully connect to the redirected desktop folder from within the user's account. What I don't understand is why it is ever loading the user's local profile desktop,
    when it is supposed to load the mandatory one.
    Any ideas are appreciated!

    Figured it out.
    The OU the computer was in didn't have the computer GPO linked. One of the computer GPO settings was to delete the locally cached profile of the user upon logout. Since this wasn't being done, Windows was loading the locally cached profile rather than the
    mandatory profile. This also was apparently causing the local account desktop to show rather than the redirected desktop. I'm assuming it was irregular depending on which profile was showing most recent modified.

  • CSM - How to redirect subdomains

    Hi,
    We have need to redirect subdomains through the CSM to various parts of our normal production website. For example, we want to be able to go to "http://whatwedo.company.com" and then we want to automatically redirect them to "http://www.company.com/aboutus/mission/whatwedo.htm."
    We are trying to come up with a standard way to support this functionality, as creating more subdomains is very likely in order to shorten the URLs for being printed in advertising. My question is what is the best way to do this with the CSM? Should I use a URL map and corresponding policy map?
    We can dedicate a single VIP to listen for all subdomains, and that VIP would be separate from our production website's VIP.
    Any and all help is appreciated!

    So, can I do this with one URL-map, policy-map, and multiple redirect serverfarms? Or, will I have to have a unique URL-map, policy-map, and redirect serverfarm for each subdomain?
    Thanks again!

  • How can I redirect a URL with aliases or redirect?

    Hi all,
    I have this partially working on my servers, but am not 100% sure I am doing this corerectly.
    Basically I have a Web site domain, let's call it product.com
    In server admin I have a site set up called www.product.com under port 80 and another under port 443 for my SSL pages.
    Here is my problem: If a customer types "product.com" in their favorite Web browser address bar, I would very much like the server to automatically redirect them (if that's the correct term) to "www.product.com"   Currently they would end up on http://product.com/index.html when they key in the URL without the "www"  I am concerned this is hurting my SEO and Google analytics as well as being an issue internally for PHP pages that are coded to the "www" addresses.
    I also have a sign-in page for my clients at the address: http://www.product.com/lib/app/auth/authenticate.php.  When a client types "signin.product.com" I want them to go to that long URL for the sign-in page.  I have gotten this to work by setting up a new Site in Server Admin > Web > Sites named "signin.product.com" which then has a single entry on the redirect tab with the URL of the signin page above.  Not sure if that could have been done on the core Web site (www.product.com) or if that was the way I should do it under Server Admin or if there is an easier way to do it.
    Primarily I want to be able to handle redirecting any type of subdomain "xxx.product.com" to another address.  The primary one I want to deal with now is the "product.com" redirecting to "www.product.com".....  Should I just set up another Web site in Server Admin with a redirect like I did for "signin.product.com"?
    Any advice on doing proper redirection appreciated.
    -- Jon

    There are so many ways you could do this. You need to pick what's right for you.
    Some of the options are available through the GUI. Many more are available once you get under the hood and drive Apache directly. Your skill and comfort level will undoubtedly influence which path you take.
    At the first level, Apache groups sites together by the hostname used to access the site.
    If you want 'www.product.com' to go to the same place as product.com you could create one site with an alias, so that Apache uses the same 'site' configuration for both hostnames.
    If you want the two hostnames to do different things then you could create two sites - in this case 'www.product.com' has the full, normal site and 'product.com' has a redirect to the equivalent page on 'www.product.com'.
    Within www.product.com you can also setup selective redirects to the HTTPS site. This will ensure that things like the login form are accessed securely. In this way your HTTPS site is another 'site' in Apache with the SSL configuration.
    One caveat in your post is the use of 'signin.company.com'. You don't describe your network, but if you have only 1 public IP address then this is going to be an issue since you cannot easily run multiple SSL sites on a single IP address - you'll need a different public IP address for each SSL site. This is because the SSL negotiation occurs before Apache knows what site the request is for, and therefore it doesn't know which SSL certificate to use for the connection.
    So, in general, you'll create one site for each variation in your web setup - one for 'www.product.com/port 80', one for 'www.product.com/port 443', one for 'product.com/80' (which redirects to 'www.product.com'), and so on.

  • Move iTunes 12 Library Folder Location?

    I need to clear room off my internal drive so I have copied the whole iTunes directory folder (playlist files, folder of actual music, etc) to an external drive.
    I would assume it would be as easy as simply moving the "iTunes Music" (folder that contains the audio files themselves) and pointing iTunes to the new location....
    A simple google search proved that it (apparently) is much more complicated than that and its very easy to break and ruin everything.
    I found quite a few "how to"s on doing this exact thing, but they were all for different versions of iTunes and each time the steps were different (and often times contained quite a few unintuitive extra steps like "consolidate library", etc).
    I have yet to find a tutorial on doing this in iTunes 12.
    I have been organizing playlists, rating tracks and so forth for years, so I am very hesitant in jumping into this without verifying the exact steps first.
    It seems like a tutorial on this would be easy to find, but I somehow missed it if it's out there.
    If anyone can help me on this I'd really appreciate it.  Perhaps its super simple and just a matter of redirecting the folder link, but I'd rather be safe than sorry :-)

    I have tried some experiments on my computer at work.
    I have found that if you copy the library, and re link it to the new copied folder (in the advanced preferences), it doesn't seem to do anything.
    After doing this I restarted iTunes, selected a song and hit "show in finder" and it was the same local location it started in!
    Then I learned about holding option down while you open iTunes lets you choose a library. I figured this might be what I was looking for. I chose the new external iTunes folder aaand..... nothing; when I reveal a song in the Finder, it still shows me they are in the original location.
    Then I added an extra step. I went to File>Library>Organize Library and checked "Consolidate files" which says it puts copies of media files used by iTunes in the iTunes Media folder. That sounds pretty good; if I've already moved those files there iTunes will surely see them in the new location and make the connection without needing to copy any files.... Not the case. iTunes literally added a duplicate to every single mp3 in my Library (really glad I didn't try this on my real library! what a mess!)
    My next idea is doing this same process, but I'll direct iTunes to an empty folder on the external drive. Hopefully when I "Consolidate files" it will do it's copying process and work fine.
    I much would prefer copying the files myself, however, for a couple of reasons. One is that I've already done the 18 hour file transfer using Carbon Copy Cloner. The other reason is that OSX is notorious with copying large amounts of files; almost every time I copy a large amount of data, OSX gets upset by some minor problem or a file that it doesn't like and it quits the whole process. I guess I'll go through these steps and let iTunes copy the data itself, and if that doesn't work I'll go to the genius bar.
    Basically a lot of work and stress for moving a simple folder.

  • Grant an account rights to read and modify files in all Redirected Documents folders?

    We have set up redirected Documents folder with the default recommended permissions that does not grant Administrators any access to the folders.  If an administrator needs access to a folder, they take ownership of the folder, grants themselves permissions
    and does whatever they need to do with the folder such as delete it or give access to a new person.  This is rarely needed so it is not a big deal.
    However,  we  now need to import everyone's Outlook PSTs (stored in their redirected MyDoc's so they are backed up) into their new  Exchange Archive mailboxes.  We will also need to be able to verify all PSTs are gone from the file server
    once the contents are imported into their archive mailbox.  We also need to be able to run reports showing which users are storing music and video files in their folders and how much.
    When I tried to run Windirstat against the share containing the redirected MyDocs folders to see what file types where taking up space, I got very incomplete results even with using psexec running as system account due to inadequate permissions on the user's
    folders.  
    We also need  the PST Capture Tool to have rights to read into their documents folders and move any psts found into the users archive mailbox.
    Rather than having to go to each user's redirected documents fiolder one by one and take ownership to change permissions, is there a more efficient way to have an account running the PST Capture Tool and WindirStat have access to read and change files in
    the user's redirected documents folders?
    I thought of just removing the option in the GPO that says "Grant the user exclusive rights to My Documents," but I don't think that will work on pre-existing
    folders that already have permissions set.

    Hi,
    Based on my research, if you already have a bunch of existing redirected My Documents folders set up with the
    Grant the user exclusive rights to My Documents check box selected, the only documented way to regain access to the folders is to take ownership of each individual folder and manually edit the permissions to give the Administrators group full
    control.
    We can use powershell script to help regain access to the folders, for more details, please go through the below link:
    http://mypkb.wordpress.com/2008/12/29/how-to-restore-administrators-access-to-redirected-my-documents-folder/
    Regards,
    Yan Li
    Regards, Yan Li

Maybe you are looking for

  • Error while creating https based web clipping portlet

    Please help me if any one has created https based web clipping portlet. I'm getting the following error when https url is used during clipping : An exception has occurred : oracle.portal.wcs.transport.http.HttpTransportException WCS-510 -- HTTP conne

  • SM30 Wrong Data retention on screen

    Hi , I have a requirement as follows : Create a table maintenance for a table with material number and plant as primary key.Then while maintaining the values I have to check if that matnr+werks is present in MARC table . If say 10 material plant are

  • Iphoto keeps reimporting all photos on disk though i have selected hide photos already imported. this is new behaviour!

    I am trying to import a few new photos from a 8gb card but Iphoto keeps reloading all the files that I have already downloaded AGAIN! This is new behaviour! I have the box ticked to Hide photos already unloded but it is grayed out so couldn't unselec

  • Inserting the characters.

    I want to insert 6000 characters in one column.which data type we can use for creating a column in a table?. Total characters length is 6000 per row and how we can test before implement it?. pls suggest Edited by: user549774 on Jun 30, 2010 4:20 AM

  • Nano won't accept my mp3s? Very Baffling

    So I got a new nano tonight and hooked it up to the computer. I've been using the iphone for a while now and I'm getting to be pretty good at transferring stuff (not that it's that hard) and so I figured the nano should be a peice of cake. It accepte