I want to find out if php can allow me to create whatever.homepage.com using my web address. I want to point the whatever.homepage.com to the folder homepage.com/whatever. Will php allow me to do this? O is there another script that will allow me to do this?
Samantha-girl
0
Newbie Poster
Recommended Answers
Jump to PostIn order to do this, your webhost will have to enter a DNS record for the subdomain so that their routers know to point it to your server. Then, you can use either a .htaccess or .cgi file (most likely PHP as well) to redirect the subdomain to a folder …
Jump to PostYes you can do this.
You can simply redirect users to the correct folder.
There are two ways to do this really. the first is static. i.e. you set up instances of each domain you intend using. The second is dynamic, the script redirects users blindly, depending on whatever they …
All 5 Replies
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Samantha-girl
0
Newbie Poster
ReDuX
1
Junior Poster
timo
0
Newbie Poster
ReDuX
1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.