- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello Guys,
I need your help…
in my project i need to create sub-domain dynamically with php…
like wordpress.com if we make new blog so it will be on sub-domain like (subdomain.wordpress.com)
i hope you all understand what i need.
i don’t know how to do it?
can anyone assist me in that.
It’s urgent..
Thanks
Hi rob Thanks for your reply
but is there any other idea or reference
Wordpress.com (and most WPMU installations), if I’m not mistaken, employ wildcard DNS settings. Unfortunately, wildcard dns can cause some issues if not implemented correctly, the most common being the server mistaking a real directory for a dynamic one. If this isn’t a problem (it wasn’t for me), you generally contact your host (or if you’re on a private server with apache, edit your httpd.conf and add *.domain.com. IN A <ip.address> with your information.
Then do a .htaccess redirect as normal, this time allowing for a dynamic subdomain. As an example, here’s the one I used for one of my projects:
That’s about the gist of it (Dreamhost set up the wildcard dns, so I’m sorry I couldn’t be more help there, but a google search on the subject should do the trick) and good luck with your project.
Thanks for your replay
But my site is hosted on ixwebhosting company
and i am using php and my web server is IIS 6.0
and it doesn’t support Rewrite module support :(
What should i do?
should i transfer my web site on linux server.
Regards:
Vijay