Jump to content

someone785

New Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by someone785

  1. not sure what virtualhosts is, but I have a wildcard subdomain setup and when a php file is accessed, it scans the subdomain that is currently used and grabs the corresponding user's page from the database.
  2. Hi, I have been working with domains and servers for a very long time but I simply cannot figure out a solution to my problem. I have a system that dynamically creates subdomains and access user-created pages based on the username. So a user may create "xyz.mydomain.com" and it will go to the home page of their site. They can also create other pages like "xyz.mydomain.com/bio" and it will go to the page they created and named "bio". My issue lies when I want to give the user a custom domain to use for their site. If they register xyz.com, I want to set up the server so that visitors can go to xyz.com/bio and it will show the content for "xyz.mydomain.com/bio" but without redirecting to mydomain.com. A frame redirect is not a solution because when a user clicks a link within the website, the URL needs to reflect the page that they clicked, so from the home page, if they click the 'bio' link, the URL needs to show "xyz.com/bio"
  3. Thank you for your suggestion. I wasn't aware of being able to make a file globally accessible. In the event that I was to add a 2nd server, and thus some domains would be on 1 server and some would be on another, would that ruin the "globally accessible" idea?
  4. Ok so if anyone can help even a tiny bit, that would be awesome: I host for many clients and they all use a custom CMS that I created for their site so they can login and edit stuff. For many of these clients, various files are the exact same(like the login screen, traffic page, etc) and since I have 30+ clients, when I make changes to one of those common pages, the current method is to ftp connect to all 30 sites individually and upload the new file. As you may know, that's a huge pain. All of these sites are on my server(shared server) but the domains are all different. Based on what I described, is there a way that these common php files can be accessed from one central file and then I can update 1 file and each client would see the changes to the corresponding file on their domain?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.