I have a simple problem in that I have developed various websites off
of my domain such as: www.mydomain.com/my-friends-website
I want to be able to have someone register a domain such as www.somedomain.com and have it point to -- www.mydomain.com/my-
friends-website
I guess the site has to be registered through name servers to point
someplace like geocities.com or anyplace free ? What's good for that ?
>From there it can just redirect to my page, but how do you do that in
html ? I have a big thick html book, but did not see redirect listed
in the index.
Is there anyway to do this directly without setting my firends domain
someplace and then redirecting ?
Is it easy to point several domains to the same place ? If I could do
that, perhaps my Rails programs could detect which domain it was
coming from and do the redirects in Rails code which I know how to do
and is easy. 4 2959
On 16 Feb 2007 02:11:30 -0800, "surfivor" <su*****@yahoo. comwrote:
>
I have a simple problem in that I have developed various websites off
of my domain such as:
www.mydomain.com/my-friends-website
I want to be able to have someone register a domain such as
www.somedomain.com and have it point to --www.mydomain.com/my-
friends-website
Do you have cPanel and add-on domains enabled on your server ? If so,
it is easy to setup the extra domain name and have it refer to a
directory in your file space.
--
Steven
On Fri, 16 Feb 2007, surfivor wrote:
From there it can just redirect to my page, but how do you do that in
html ? I have a big thick html book, but did not see redirect listed
in the index.
You don't do redirects with HTML.
Read http://www.w3.org/QA/Tips/reback .
On Feb 17, 9:47 am, "prac" <philippe.chapp ...@gmail.comwr ote:
On the page My_label_vin to redirect to lecteur-flux-rss :
<p style="text-align: center;">You will be directed to :<a
href="http://philippe.chappu is.googlepages. com/lecteur-flux-
rss.htm">http://philippe.chappuis.googlepages.com/lecteur-flux-
rss.htm</a></p>
<script language="javas cript" type="text/javascript">
window.location ="http://philippe.chappu is.googlepages. com/lecteur-flux-
rss.htm";
</script><noscrip t>Redirection vershttp://philippe.chappu is.googlepages. com/lecteur-flux-rss.htm
la page du lecteur de flux RSS</noscript>
I'm not sure why the paragraph at the top is in English but the
noscript element content is in French, but anyway, that's a rather
clumsy way to do something that could be done much more elegantly with
a server-side redirect (e.g., with .htaccess in Apache servers). Or,
better yet, get a hosting account that actually lets you host sites
directly under the domains that correspond to them so that no clunky
redirects are needed at all. (Dreamhost currently lets you have
unlimited domains and subdomains, all fully hosted, within a single
account.)
--
Dan This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bob Garbados |
last post by:
forgive my ignorance, as I'm new to php coming from a ms background...
If I create a page named redirect.php and it's only content is:
<?php
header("Location: http://www.google.com");
?>
Should it not redirect to www.google.com? I can't get the header()
function to redirect.
I'm trying to take an online reservation... the customer fills out
|
by: Alex Hunsley |
last post by:
A question that has certainly been asked before and I've googled etc.
for answers with no certain outcome...
I'd like my PHP script to redirect the client browser to another page,
POSTing some data at the same time. (To take them back to an html page
showing a form that needs correcting because some data is missing.)
I believe this is either tricky or not possible from what I've seen, but
I'd just like to see what others think...
|
by: bagsmode |
last post by:
Hi,
I'm trying to set a session cookie and then redirect, however I get the
error:
Status: 302 Moved Location: /index.cgi
I thought I recall getting an error like this when I first tried
performing a redirect when I had left in
print "Content-type:text/html\n\n";
|
by: carussell23 |
last post by:
Is it possible to execute a batch file on the webserver and redirect
to an html document at the same time using javascript?
|
by: sc |
last post by:
I am generating some nested DataLists, but instead of displaying them on
the client browser, I want to save the output HTML stream to an on-disk
file in %temp%.
What is the best way to do that?
Thanks.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
| |
by: news://news.microsoft.com/microsoft.public.de.germ |
last post by:
Hallo!
Ich habe ein Frameset mit 3 Frames.
Im 1. Frame wird eine ASPX-Seite geöffnet. In dieser werden einige
Steuerelemente angezeigt.
Nun soll bei bestimmten Benutzeraktivitäten eine andere ASPX-Seite geöffnet
werden, und zwar in einem der beiden anderen Frames. Mein Problem ist, dass
die Seite, die geöffnet werden soll, manchmal im 2. und manchmal im 3. Frame
angezeigt werden soll (je nach Benutzeraktivität).
|
by: mvr |
last post by:
Hi all
I was using Response.Redirect for ASP pages, and
<META HTTP-EQUIV="Refresh"
CONTENT="5; URL=html-redirect.html"to redirectand html page.
Is there any we can redirect a pdf document from one server to another.
http://oldserver/test.pdf to http://newserver/newtest.pdf.
Any suggestions???
Thanks
|
by: DGS |
last post by:
Hi guys,
Not a developer, but an admin so please pardon my ignorance.
I have an issue that I was hoping to get help with. What I need is for the
front page of my site to capture the URL that the user is requesting.
Regardless of where they go, they are prompted to login...but I want the
initial login page to capture where they have REQUESTED to go and store it
somewhere (I assume a cookie).
|
by: UKuser |
last post by:
Hi,
I'm not sure if this can be done as I've searched the web and this
forum.
I am using an online merchant provider and I must post certain
variables to their webforms through a form on my website.
The issue is that I need to gauge whether a user has any items in
their basket to decide which page I redirect them too. I could
|
by: Darrel |
last post by:
I'm helping convert a 300+ page .html site into an ASP.net site.
The client wants to set up 301 redirects for all of the old html pages. I've
used ISAPI for this type of thing in the past, as it works great and is easy
to set up, but at this point, the client (which is my client, who's working
with the actual client) doesn't know what the new web host supports.
In the interim, I want to do a bit of research myself on this to see if it's...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |