Shared IP Address

Status
Not open for further replies.

maximvdk88

New Member
Messages
13
Reaction score
0
Points
0
Dear,
I have a little question about the Shared IP Address you give me in the CPanel. If I try to acces it in my webbrowser I only see Default Web Page. Is there a way to change it to my index.html? Because I have a domain name and i want to link those.

Kind regards,

Maxim
 
Last edited:

Anna

I am just me
Staff member
Messages
11,752
Reaction score
582
Points
113
you can NEVER access your site directly using the IP as URL in the browser, when you do the server would have no idea what content to serve as all accounts on that server would have the same shared IP, which is why it is called shared.

You would need to configure your domain to point to that IP (using A record), and then use the domain for accessing your site as the server then would know what content (internal path) is associated with that domain.

We do however recommend that you configure your domain to use our name servers; ns1.x10hosting.com and ns2.x10hosting.com
 

maximvdk88

New Member
Messages
13
Reaction score
0
Points
0
Screen shot 2011-05-29 at 14.15.11.png
First of all, thank you for your help!
I don't understand some of the things you told me. I have made a screenshot of the things i can change. You can find it in the attachment.
So there ip adres becomes the shared adres i got from x10 hosting?
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

Looking at the screenshot, in the drop down box at the bottom, are you able to add a new "NS" record? Also, is there any way you can delete or edit the top two records in that screenshot?

Thanks.
 

maximvdk88

New Member
Messages
13
Reaction score
0
Points
0
I can't change the fitst two.
I can add 3 new things:
-A
-MX
-CNAME

I changed there ip adres into the shared ip adres from x10 hosting.

Thanks for your help!
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Yes, that should work now. Just make sure all of the IPs are changed.

Thanks.
 

maximvdk88

New Member
Messages
13
Reaction score
0
Points
0
It seems that i'm going out the right but there is still a little problem I think.
My webbrowser tells me this:
Safari cannot open the page because there are too many redirects occurred.
Do I also have to change the other links? Like Anna said?
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
You have a redirect back to itself.

Go to cPanel and then File Manager (or FTP to public_html).

Either:

1. Rename .htaccess to .htaccessBAK

OR

2. Open .htaccess and edit out the redirect. If you do not know what to do, post the contents here and we can tell you what to edit.
 

maximvdk88

New Member
Messages
13
Reaction score
0
Points
0
Ok, thank you so much, changing the .htaccesss to .htaccessBAK did the job.
Why was that little file messing up my website?

thank you! I realy appreciate your help! 1000x thank you. It took me whole my weekend!

Kind regards,

Maxime
 

stpvoice

Community Support Rep
Community Support
Messages
5,987
Reaction score
212
Points
63
Hello,

If you post the .htaccess' contents we may be able to tell you more.

Thanks.
 

maximvdk88

New Member
Messages
13
Reaction score
0
Points
0
This are the contents of the .htaccess file.

RewriteEngine on
RewriteCond %{HTTP_HOST} ^technicscolasbelgium.be$ [OR]
RewriteCond %{HTTP_HOST} ^www.technicscolasbelgium.be$
RewriteRule ^/?$ "http\:\/\/technicscolasbelgium\.be" [R=301,L]

RewriteCond %{HTTP_REFERER} !^http://technicscolasbelgium.be/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://technicscolasbelgium.be$ [NC]
RewriteCond %{HTTP_REFERER} !^http://technicscolasbelgium.be/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://technicscolasbelgium.be$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.technicscolasbelgium.be/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.technicscolasbelgium.be$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.technicscolasbelgium.be/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.technicscolasbelgium.be$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

thank you.
 
Status
Not open for further replies.
Top