Thread View: best.colocation
14 messages
14 total messages
Started by Brent N. Hunter
Thu, 04 Jul 1996 00:00
Changing domains
Author: Brent N. Hunter
Date: Thu, 04 Jul 1996 00:00
Date: Thu, 04 Jul 1996 00:00
15 lines
1167 bytes
1167 bytes
Hello, I need to move all of my web pages from one domain to another domain on the same physical machine. Does anyone know of any step-by-step instructions on how to do this? I know the basic things that need to be done, but I'd like to plan this out carefully so I don't miss anything. I'd like to have my web pages and email addresses on BOTH domains to be operational at the same time, in parallel, for about 6 months. Thanks for any pointers you can provide! Sincerely, Brent
Re: Changing domains
Author: Brent N. Hunter
Date: Thu, 04 Jul 1996 00:00
Date: Thu, 04 Jul 1996 00:00
18 lines
1455 bytes
1455 bytes
Harold Sasaki wrote: > > On Thu, 04 Jul 1996 Brent N. Hunter <bhunter@cyberpark.com> wrote: > > => I need to move all of my web pages from one domain to another domain on > => the same physical machine. Does anyone know of any step-by-step > => instructions on how to do this? I know the basic things that need to be > => done, but I'd like to plan this out carefully so I don't miss anything. > => I'd like to have my web pages and email addresses on BOTH domains to be > => operational at the same time, in parallel, for about 6 months. > > What operating system? Actually, I need to do this on two machines, both are running FreeBSD; one is using the Besthttpd and the other is using the Apache httpd. Brent
Re: Changing domains
Author: Harold Sasaki
Date: Thu, 04 Jul 1996 00:00
Date: Thu, 04 Jul 1996 00:00
18 lines
1513 bytes
1513 bytes
On Thu, 04 Jul 1996 Brent N. Hunter <bhunter@cyberpark.com> wrote:
=> I need to move all of my web pages from one domain to another domain on
=> the same physical machine. Does anyone know of any step-by-step
=> instructions on how to do this? I know the basic things that need to be
=> done, but I'd like to plan this out carefully so I don't miss anything.
=> I'd like to have my web pages and email addresses on BOTH domains to be
=> operational at the same time, in parallel, for about 6 months.
What operating system?
--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Harold Sasaki
hsasaki@harold.com
http://www.harold.com/
"I claim I can spell, I just can't proofread" - me
Re: Changing domains
Author: James A. Squires
Date: Thu, 04 Jul 1996 00:00
Date: Thu, 04 Jul 1996 00:00
23 lines
1191 bytes
1191 bytes
I would use tar...
cd ~/ftp
tar cf webpages.tar public_html
mv webpages.tar /tmp
chmod a+rw /tmp/webpages.tar
login other-me
cd ~/ftp
tar xvof /tmp/webpages.tar
rm /tmp/webpages.tar
[ forget the 'o' flag, and UR dead meat mon ]
Best of luck,
-JAS
James A. Squires www.jas.com jas@jas.com
=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=
"The only way to be secure is to get a real operating system, like NT."
-Roger David Carasso (roger@carasso.com)
Re: Changing domains
Author: Charles Haynes
Date: Thu, 04 Jul 1996 00:00
Date: Thu, 04 Jul 1996 00:00
31 lines
1307 bytes
1307 bytes
In article <jas.836507323@shellx>, James A. Squires <jas@best.com> wrote:
>I would use tar...
>cd ~/ftp
>tar cf webpages.tar public_html
>mv webpages.tar /tmp
>chmod a+rw /tmp/webpages.tar
>login other-me
>cd ~/ftp
>tar xvof /tmp/webpages.tar
>rm /tmp/webpages.tar
>[ forget the 'o' flag, and UR dead meat mon ]
I'd use tar too, but in a slightly different way. This assumes your
old ftp dir and all files were world readable.
login as other-me
tar -cf - -C ~me/ftp . | (cd ~/ftp ; tar -xvf -)
note that you don't need the "o" flag.
-- Charles
--
http://www.fifth-mountain.com/
Re: Changing domains
Author: Larry Sherman
Date: Fri, 05 Jul 1996 00:00
Date: Fri, 05 Jul 1996 00:00
22 lines
1161 bytes
1161 bytes
jas@best.com (James A. Squires) wrote: >I would use tar... > >cd ~/ftp >tar cf webpages.tar public_html >mv webpages.tar /tmp >chmod a+rw /tmp/webpages.tar > >login other-me >cd ~/ftp >tar xvof /tmp/webpages.tar >rm /tmp/webpages.tar > >[ forget the 'o' flag, and UR dead meat mon ] I don't think the 'o' flag has any effect unless you're a superuser. I would use the 'p' flag to retain file/dir permissions. ---- Larry Sherman http://www.computerrific.com/
Re: Changing domains
Author: Brent N. Hunter
Date: Fri, 05 Jul 1996 00:00
Date: Fri, 05 Jul 1996 00:00
20 lines
1543 bytes
1543 bytes
Sorry, I wasn't very clear about what I want to do... I have two machines with lots of web pages, graphics, sound files, etc. I need to change to a new domain. I don't want to duplicate all of my files unless I absolutely need to, since I'd have to purchase another disk drive. Can I achieve this by using symbolic links or something like that? I need to have both domains accessible at the same time for about six months and I don't want to have to maintain both sets of pages if at all possible. Not to make it even more complex, but I also need to send and receive email at both domains... OS is FreeBSD. One machine uses the Besthttpd and the other machine uses the Apache httpd. Thanks, Brent
Re: Changing domains
Author: Harold Sasaki
Date: Fri, 05 Jul 1996 00:00
Date: Fri, 05 Jul 1996 00:00
48 lines
2628 bytes
2628 bytes
On Fri, 05 Jul 1996 Brent N. Hunter <bhunter@cyberpark.com> wrote:
=> Sorry, I wasn't very clear about what I want to do...
=> I have two machines with lots of web pages, graphics, sound files, etc.
=> I need to change to a new domain. I don't want to duplicate all of my
=> files unless I absolutely need to, since I'd have to purchase another
=> disk drive. Can I achieve this by using symbolic links or something
=> like that? I need to have both domains accessible at the same time for
=> about six months and I don't want to have to maintain both sets of pages
=> if at all possible.
=> Not to make it even more complex, but I also need to send and receive
=> email at both domains...
=> OS is FreeBSD. One machine uses the Besthttpd and the other machine
=> uses the Apache httpd.
I'm not sure about how to set up the IP addresses on FreeBSD, but to set
up the Apache server you don't have to duplicate the files.
<VirtualHost www.domain1.com>
ServerAdmin you@domain1.com
DocumentRoot /a/b/c/apache/htdocs
ServerName www.domain1.com
ErrorLog logs/errors_log
TransferLog logs/access_log
</VirtualHost>
<VirtualHost www.domain2.com>
ServerAdmin you@domain2.com
DocumentRoot /a/b/c/apache/htdocs
ServerName www.domain2.com
ErrorLog logs/errors_log
TransferLog logs/access_log
</VirtualHost>
If FreeBSD is like Solaris, you just have to set up the machine to answer
to both IP addresses and configure your mail alias file and take care of
DNS. I'm not sure about the exact syntax.
--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Harold Sasaki
hsasaki@harold.com
http://www.harold.com/
"I claim I can spell, I just can't proofread" - me
Re: Changing domains
Author: Paul Bricmont
Date: Fri, 05 Jul 1996 00:00
Date: Fri, 05 Jul 1996 00:00
24 lines
1724 bytes
1724 bytes
In article <31DD37AB.4E05@cyberpark.com>, "Brent N. Hunter" <bhunter@cyberpark.com> wrote: > Sorry, I wasn't very clear about what I want to do... > > I have two machines with lots of web pages, graphics, sound files, etc. > I need to change to a new domain. I don't want to duplicate all of my > files unless I absolutely need to, since I'd have to purchase another > disk drive. Can I achieve this by using symbolic links or something > like that? I need to have both domains accessible at the same time for > about six months and I don't want to have to maintain both sets of pages > if at all possible. > > Not to make it even more complex, but I also need to send and receive > email at both domains... > I may need to do the same thing in the near future but with an account on the Best server instead of a separate system. Could the solutions suggested for the above problem be used by Best to allow two domain names to access the same account? Paul
Re: Changing domains
Author: James A. Squires
Date: Sat, 06 Jul 1996 00:00
Date: Sat, 06 Jul 1996 00:00
15 lines
1083 bytes
1083 bytes
larry@computerrific.com (Larry Sherman) writes: >jas@best.com (James A. Squires) wrote: >>tar xvof /tmp/webpages.tar >>[ forget the 'o' flag, and UR dead meat mon ] >I don't think the 'o' flag has any effect unless you're a superuser. >I would use the 'p' flag to retain file/dir permissions. ONLY if the two user's ID numbers are the same. Try it. -JAS
Re: Changing domains
Author: Brent N. Hunter
Date: Sun, 07 Jul 1996 00:00
Date: Sun, 07 Jul 1996 00:00
52 lines
2641 bytes
2641 bytes
Harold Sasaki wrote: > > On Fri, 05 Jul 1996 Brent N. Hunter <bhunter@cyberpark.com> wrote: > > => Sorry, I wasn't very clear about what I want to do... > > => I have two machines with lots of web pages, graphics, sound files, etc. > => I need to change to a new domain. I don't want to duplicate all of my > => files unless I absolutely need to, since I'd have to purchase another > => disk drive. Can I achieve this by using symbolic links or something > => like that? I need to have both domains accessible at the same time for > => about six months and I don't want to have to maintain both sets of pages > => if at all possible. > > => Not to make it even more complex, but I also need to send and receive > => email at both domains... > > => OS is FreeBSD. One machine uses the Besthttpd and the other machine > => uses the Apache httpd. > > I'm not sure about how to set up the IP addresses on FreeBSD, but to set > up the Apache server you don't have to duplicate the files. > > <VirtualHost www.domain1.com> > ServerAdmin you@domain1.com > DocumentRoot /a/b/c/apache/htdocs > ServerName www.domain1.com > ErrorLog logs/errors_log > TransferLog logs/access_log > </VirtualHost> > > <VirtualHost www.domain2.com> > ServerAdmin you@domain2.com > DocumentRoot /a/b/c/apache/htdocs > ServerName www.domain2.com > ErrorLog logs/errors_log > TransferLog logs/access_log > </VirtualHost> > > If FreeBSD is like Solaris, you just have to set up the machine to answer > to both IP addresses and configure your mail alias file and take care of > DNS. I'm not sure about the exact syntax. Great, I'll give it a try. Thanks very much! Matt Dillon: can you please comment on whether or not this will work for the Best httpd? Thanks again! Brent
Re: Changing domains
Author: Larry Sherman
Date: Sun, 07 Jul 1996 00:00
Date: Sun, 07 Jul 1996 00:00
26 lines
1484 bytes
1484 bytes
jas@best.com (James A. Squires) wrote: >larry@computerrific.com (Larry Sherman) writes: > >>jas@best.com (James A. Squires) wrote: >>>tar xvof /tmp/webpages.tar >>>[ forget the 'o' flag, and UR dead meat mon ] > >>I don't think the 'o' flag has any effect unless you're a superuser. >>I would use the 'p' flag to retain file/dir permissions. > >ONLY if the two user's ID numbers are the same. > >Try it. My counter page (www.computerrific.com/cory/) creates an archive of one dir and five files. This tar file is created by user 'nobody'. When the tar file is extracted without the 'p' flag, the resulting permissions are at the mercy of the users umask. Try it. :) ---- Larry Sherman http://www.computerrific.com/
Re: Changing domains
Author: James A. Squires
Date: Sun, 07 Jul 1996 00:00
Date: Sun, 07 Jul 1996 00:00
26 lines
1766 bytes
1766 bytes
larry@computerrific.com (Larry Sherman) writes: >>>>tar xvof /tmp/webpages.tar >>>>[ forget the 'o' flag, and UR dead meat mon ] >>>I don't think the 'o' flag has any effect unless you're a superuser. >>>I would use the 'p' flag to retain file/dir permissions. >>ONLY if the two user's ID numbers are the same. >My counter page (www.computerrific.com/cory/) creates an archive of >one dir and five files. This tar file is created by user 'nobody'. >When the tar file is extracted without the 'p' flag, the resulting >permissions are at the mercy of the users umask. This is getting silly. I'm not talking about the umask and file modes. I have an SGI at home, and another at work. If I take a tape to work, and forget the owner flag for tar, the OWNERSHIP of the extracted file is owned by root, as my login ID number there is not the same as at home, and defaults ownership to root. ENUF! Whatever. I'll not bother trying to help anyone again. End of line. -JAS
Re: Changing domains
Author: Jimmy Aitken
Date: Sun, 07 Jul 1996 00:00
Date: Sun, 07 Jul 1996 00:00
28 lines
1920 bytes
1920 bytes
In article <jas.836762946@shellx>, James A. Squires <jas@best.com> wrote: >This is getting silly. >I'm not talking about the umask and file modes. >I have an SGI at home, and another at work. >If I take a tape to work, and forget the owner flag for tar, the >OWNERSHIP of the extracted file is owned by root, as my login ID number >there is not the same as at home, and defaults ownership to root. > >ENUF! Whatever. I'll not bother trying to help anyone again. > >End of line. >-JAS Could this be a "problem" with the tars that are on shellx? /usr/local/bin/tar is the gnu tar and /sbin/tar is the SGI. Does the bahvious differ between the two. I remember whenI was switching between Berkeley and System V tars before V.4 came out that the system V tar did things that I *really* didn't want to happen. Jimmy -- jimmy@pyramid.com [work] For secure mail, use my PGP key available from jimmy@peter.com [home] all PGP servers or by "finger petejim@best.com" __ Key ID is: EEAB8101 \/ http://www.peter.com `Rrrrum Ti-Tum Ti-Tum Ti-Tum, Rrrrum Ti-Tum Ti Ta-Ta, Rrrrum Ti-Tum Ti-Tum Ti-Tum, Rrrrum Ti Tiddly Ta...'
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads