cancel
Showing results for 
Search instead for 
Did you mean: 

Changing my DNS for new CGI server.

N/A

Changing my DNS for new CGI server.

Hi

I have my DNS set as:

thestottfamily ¦ A ¦ 212.159.8.1
ftp ¦ A ¦ 80.229.27.68
www ¦ cname ¦ cgi.force9.net

I have changed the last one to:

www ¦ cname ¦ ccgi.force9.net.

Is this correct?

Regards

Stottie
32 REPLIES
N/A

Changing my DNS for new CGI server.

looks it to me.....
N/A

Changing my DNS for new CGI server.

Hi

Its working now...

Trying to access a forum on my 2nd domain that i have had to install/run on my 1st domain (i.e via cgi) is gonna be a pain now!

Basically the fact i can host 3 domains on my account is completely true (:
Only the first one is fully functional.

Regards

Stottie
N/A

Changing my DNS for new CGI server.

I completely disagree. I have 4 domains all hosted on the CGI server using a nifty bit of code in your .htaccess file, each website in its own folder which doesnt have to appear in the URL.

Search the forums for 'rewriteengine on' and you should be able to get going with that.

Hope that helps,

Jarv
N/A

Changing my DNS for new CGI server.

Hi

Ok will try...Will this allow my other domain to run .php files ok? Reading some of the forum posts seem to say .htaccess files will not effect .php files.

I guess yours are running on the new CGI server and they are .php files?

Regards

Stottie
N/A

Changing my DNS for new CGI server.

It won't affect PHP files in so far as you can't do .htaccess authentication on them and can't use php_value etc. but rewrities based on the domain should work (and do in my testing...)
Marteknet
Grafter
Posts: 577
Registered: 13-10-2007

Changing my DNS for new CGI server.

Quote

Ok will try...Will this allow my other domain to run .php files ok? Reading some of the forum posts seem to say .htaccess files will not effect .php files.


This may just help you a little.

If you are using URL addresses with variables and values then forget about htaccess as it will not work with this type of link (I think). make a directory on your ccgi (new cgi server), call it the same as the domain you want use and then just set up the ccgi dns in the advanced dns settings on the f9 portal set left field to ccgi, type to cname and rigth field to ccgi.username.force9.co.uk. (must end with a fullstop).

Then in your code use links like this ccgi.domain.ext/domain/filename.php

This way you can have as many domains on the ccgi server as you want with each pointing to a directory and with the url based on the domain name rather then your force9 username.

I know its not an ideal answer but it works.

Peter
N/A

Changing my DNS for new CGI server.

Hi

I think dropping my account to £14.99 from £21.99+£1month and spending that saving on 2 external hosting packages such as the £23.99 year ones from [url] http://www.supanames.co.uk/index.php?page=valuehostpro will solve all the hassle!

My 2nd domain is still with 1and1 but my 1st domain says i will have to pay £45 to transfer. It is due for renewal in 5 days so i guess will have to wait until its available again (:


Regards


Stottie
N/A

Changing my DNS for new CGI server.

Hello (:

Tried this :
RewriteEngine On

RewriteRule /seroxatmad.co.uk/forum/(.*) /thestottfamily.co.uk/forum/$1 [R,L]

But nothing...


N/A

Changing my DNS for new CGI server.

Hi,

Not sure what you got there but try the following:

place your two sites in two folders named:

thestottfamily
and
seroxatmad

and the .htaccess file as follows in your root FTP folder:

RewriteEngine on 


RewriteCond %{HTTP_HOST} \.thestottfamily\.co\.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/thestottfamily(/(.*)|$) [NC]
RewriteRule (.*)$ /thestottfamily/$1

RewriteCond %{HTTP_HOST} \.seroxatmad\.co\.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/seroxatmad(/(.*)|$) [NC]
RewriteRule (.*)$ /seroxatmad/$1


That should work.

Jarv
N/A

Changing my DNS for new CGI server.

Hi
Thanks for the reply

Quote
place your two sites in two folders named:

thestottfamily
and
seroxatmad

What do you mean by that? Sorry to sound stupid.

I have my www.thestottfamily.co.uk working from my CGI. Do i need seroxatmad files within the CGI area also? What about the DNS for seroxatmad? Does that need changing?


Regards

John
N/A

Changing my DNS for new CGI server.

Ok, for your situation the simplest (but least elegant Wink) solution is to leave thestottfamily where it is, and create a folder in the base of your CGI space named seroxatmad, and put your seroxatmad site just in that folder.

At this point you will be able to access the seroxatmad site through
http://www.thestottfamily.co.uk/seroxatmad

Then put the .htaccess file in the base of your CGI space, containing:

RewriteEngine on 


RewriteCond %{HTTP_HOST} \.seroxatmad\.co\.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/seroxatmad(/(.*)|$) [NC]
RewriteRule (.*)$ /seroxatmad/$1

once all that is done and you have got the seroxatmad site working properly through http://www.thestottfamily.co.uk/seroxatmad you can then send a ticket to F9 support asking them to point your 'w w w' subdomain for seroxatmad.co.uk to the new CGI server. If they do it today then tomorrow your seroxatmad site on the CGI server should be accessable through http://www.seroxatmad.co.uk ! Smiley

Jarv
N/A

Changing my DNS for new CGI server.

Yummy...

I guess CSI will be on all night...thanks again.
N/A

Changing my DNS for new CGI server.

Hi

Last night I set the 'seroxat' domain to :

www ¦ cname ¦ ccgi.force9.net.

My 'thestottfamily' domain was already set to :

www ¦ cname ¦ ccgi.force9.net.

I have the .htaccess in place but if you call www.seroxatmad.co.uk it brings up a basic(i.e no CSS) thestottfamily page!!! Any ideas? Maybe the .htaccess file?


Regards and thanks.

Stottie

P.S www.thestottfamily.co.uk/seroxatmad works fine...I guess that is were www.seroxatmad.co.uk should be pointing?
N/A

Changing my DNS for new CGI server.

yes, the .htaccess file should cause seroxatmad.co.uk to point at that folder...

does www.seroxatmad.co.uk/seroxatmad get the correct site?

have I made any speling mistakes in the htaccess file? -

RewriteEngine on

RewriteCond %{HTTP_HOST} \.seroxatmad\.co\.uk$ [NC]
RewriteCond %{REQUEST_URI} !^/seroxatmad(/(.*)|$) [NC]
RewriteRule (.*)$ /seroxatmad/$1


and just to check you are putting the .htaccess in the base of your CGI webspace?


Jarv