Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    1

    Resolving DNS to a subfolder of another domain?

    I am using Godaddy dedicated server with simple control panel. I know I can not do this through the control panel, but I do have root access and am will to go edit some files to get this done.

    domain1.com has ns1.domain1.com

    domain1.com/info/stuff

    I want to create a folder on domain1.com named stuff, then point domain2.com to domain1.com/info/stuff so that the stuff folder is the root directory of domain2.com

    Seems like it would be a simple dir path edit via bash, but I have no idea what to edit...

    Thanks in advance to all you server gurus out there :>

    Adam

  2. #2
    Junior Member
    Join Date
    Mar 2011
    Posts
    20
    Domains don't point to folders. They just resolve names to IPs. You'd need a http based approach for your problem. In your case you could use mod_rewrite to do either an internal or external redirect on access.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.