SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict eanimator's Avatar
    Join Date
    Sep 2005
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sub domain mapping issues

    Hello All,

    I need to know few things.

    Here are as follows:

    1. I have a web portal catering web directory needed. e.g. www.mywebdir.com
    2. I wish to sell branded web directories as 'abccompany.mywebdir.com';
    (I tried to create subdomain manually but PHP is not allowing me to access root. I need root directory access from sub-domain because I need to add logos, images etc. In short, data inserted using sub-domain will also be available in main domain i.e. mywebdir.com )
    3. I also wish to sell like 'mywebdir.abccompany.com'
    Dynamic DNS binding. Same Goal - Data inserted using this must be available in mywebdir.com.

    Please let me know the starting point.

    I did research but do not yet know the proper solution.
    I know it has to do something with VirtualHost , Dynamic Sub-domain stuff

    Looking forward to your response. Many Thanks.

    Best,

    e

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,862
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Check with your hosting provider if they allow this. Many web hosting providers have their hosting configured so as not to permit sub-domains to be dynamically generated.

    If they do allow it then at least you have eliminated that possibility of why it isn't working and they might even be able to tell you what you did wrong.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Addict eanimator's Avatar
    Join Date
    Sep 2005
    Posts
    396
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    oh, I forgot to mention - I have VPS PLESK.

  4. #4
    SitePoint Member johnjackson's Avatar
    Join Date
    Aug 2012
    Location
    Newcastle upon Tyne
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    read the parallels help files who manufacturer plesk

  5. #5
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    3. I also wish to sell like 'mywebdir.abccompany.com'

    And just how are you planning to sell that? Are you going to buy/register "abccompany.com" and try and sell it back to the company with a forced sub-domain? Quite unrealistic your thinking there.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

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