Jump to content

Recommended Posts

I am working on a project that involves currently 8 different domain names that reference a city.

 

They are all hosted on the same shared hosting server.

 

The content for the sites will be essentially the same except for localization based upon the url. The content of the site will be an events listing and registration page for events in a particular city. The template will be the same for each one but with some localized graphics such as a header.

 

Eventually there will be 30+ domains/cities.

 

I am wondering what the best way to approach this is?

Link to comment
https://forums.phpfreaks.com/topic/191663-content-based-on-domain/
Share on other sites

  • 3 weeks later...

Are you referring to something similar to how Kijiji creates sub domains for certain cities? ie:

 

http://toronto.kijiji.ca

http://vancouver.kijii.ca

 

Pointing them to the same location, but the output of the page is based upon the dns suffix currently being used? Ie: Toronto returns results from the Toronto database, etc.?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.