473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

pointing external domain names to subdomains

258 100+
Hi everyone
I'v made a website which allows users to have their own subdomains
Each user can have a blog in a unique subdomain

Now I need to let my users register their own domain names and point it to their subdomain on my website.

For example : when a user registers a domain name on any website (www.usersname.com) and connects it to his subdomain (usersname.mywebsite.com) each time a visitor goes to that domain he should come to the subdomain in my website.

There are some ways to point the domain to another address but the problem is that when the visitor goes to that domain name he gets redirected and the subdomain name on my website will be shown.
But I want the visitor to see the domain name.

I'v seen several websites doing this job but I don't know how (ex: www.blogger.com)

Any suggestion will be appreciated

Thanks
Nov 11 '08 #1
3 1830
Dormilich
8,658 Expert Mod 8TB
although I absolutely do not like it, frames can do that.

why do you want the visitor not seeing your address?

regards
Nov 11 '08 #2
Markus
6,050 Expert 4TB
If the domains aren't on the same server, I suggest using file_get_contents() maybe. Saying that, if they are on the same server, I wouldn't know how you'd include one in the other. I'm sure there are more desirable ways of doing this.
Nov 11 '08 #3
bnashenas1984
258 100+
Thanks for the reply
As I said before there are some ways to point the domain to an external address but I thoght it's not friendly to redirect the visitors to another address

thanks again
Nov 12 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: bbcrock | last post by:
does anyone have sample code to display a pop up when a user leaves the site? I really don't want to use this technique, but the clients demand it. I'm thinking something like un body onunload,...
4
by: Jim Carlock | last post by:
$_SERVER returns the root path for the subdomain, which is different than the root path for the primary domain. Is there a global variable to get the path for the root domain? What's the best...
22
by: magic_hat60622 | last post by:
Hi all. I've got an app that dumps a user id into a session after successful login. the login page is http://www.mydomain.com/login.php. If the user visits pages on my site without the www (i.e.,...
5
by: nex85 | last post by:
Hi, On Yahoo! web hosting, we are able to create subdomains, like: 1. yourplace.me.com 2. myplace.me.com 3. ourplace.me.com as subdomains of a site, e.g., www.me.com
1
by: Jawad Rehman | last post by:
Hi there,, I want to create subdomains from my web page automatically...in most of website,when u registered with them,they give a sub domain. i registered in website.www.blogger.com they...
3
by: buynorwex | last post by:
I am using a member area manager program, and have subdomains on my website. My challenge is that I want the program to access the same database (on the domain) from both subdomains. The file I've...
1
by: buynorwex | last post by:
I am using a member login program that restricts access according to security levels, and have subdomains on my website. My challenge is that I want the program to access the same database (on the...
1
by: onequestion | last post by:
Hi friends.. Is it possible to find subdomains on a domain. Can someone help me? currently i'm using this code.. private static String GetSubDomain(URL url) ...
0
by: =?Utf-8?B?Q2hhaXRhbnlh?= | last post by:
Hi All, I have a requirement for getting all the IPs of Subdomains from a given Domain. Please help me out for solving this problem. Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.